mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
lua-mpack: fix building with clang
clang has some things considered “warnings” that gcc doesn’t so it is necessary to set “-Wno-error” to build under clang.
This commit is contained in:
parent
d0cb52596e
commit
b331af6de6
@ -398,6 +398,7 @@ let
|
||||
preInstall = ''
|
||||
mkdir -p $out/lib/lua/${lua.luaversion}
|
||||
'';
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error -fpic";
|
||||
installFlags = [
|
||||
"USE_SYSTEM_LUA=yes"
|
||||
"LUA_VERSION_MAJ_MIN="
|
||||
|
Loading…
Reference in New Issue
Block a user