gerbil: fix build (#490533)
This commit is contained in:
@@ -74,6 +74,10 @@ stdenv.mkDerivation rec {
|
||||
"--enable-march=" # Avoid non-portable invalid instructions. Use =native if local build only.
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE =
|
||||
# Required for legacy C code in source
|
||||
"-Wno-error=implicit-function-declaration";
|
||||
|
||||
configurePhase = ''
|
||||
export CC=${gccStdenv.cc}/bin/${gccStdenv.cc.targetPrefix}gcc \
|
||||
CXX=${gccStdenv.cc}/bin/${gccStdenv.cc.targetPrefix}g++ \
|
||||
|
||||
Reference in New Issue
Block a user