aprx: fix build with gcc 14

This commit is contained in:
Sigmanificient
2025-03-10 00:05:52 +01:00
parent 37acb94c0b
commit fb482d73c8
+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"