aprx: fix build with gcc 14 (#388549)

This commit is contained in:
kirillrdy
2025-03-10 19:46:36 +11:00
committed by GitHub
+5 -7
View File
@@ -18,13 +18,11 @@ stdenv.mkDerivation {
nativeBuildInputs = [ perl ];
env.NIX_CFLAGS_COMPILE = toString (
[
"-fcommon"
"-O2"
]
++ lib.optional stdenv.cc.isClang "-Wno-error=implicit-int"
);
env.NIX_CFLAGS_COMPILE = toString ([
"-fcommon"
"-O2"
"-Wno-implicit-int" # clang, gcc 14
]);
configureFlags = [
"--with-erlangstorage"