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:
Matthew Bauer 2016-06-11 21:02:33 -05:00
parent d0cb52596e
commit b331af6de6

View File

@ -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="