aprx: fix build with gcc 14 (#388549)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user