mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +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 = ''
|
preInstall = ''
|
||||||
mkdir -p $out/lib/lua/${lua.luaversion}
|
mkdir -p $out/lib/lua/${lua.luaversion}
|
||||||
'';
|
'';
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error -fpic";
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"USE_SYSTEM_LUA=yes"
|
"USE_SYSTEM_LUA=yes"
|
||||||
"LUA_VERSION_MAJ_MIN="
|
"LUA_VERSION_MAJ_MIN="
|
||||||
|
Loading…
Reference in New Issue
Block a user