gerbil: fix build

This commit is contained in:
Diego Strebel
2026-02-15 00:58:02 +01:00
parent c338d764ea
commit 07db3a1fee
@@ -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++ \