Skip to content

Commit 64469c0

Browse files
authored
aprx: fix build with gcc 14 (#388549)
2 parents 03fd9a3 + fb482d7 commit 64469c0

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

pkgs/by-name/ap/aprx/package.nix

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ stdenv.mkDerivation {
1818

1919
nativeBuildInputs = [ perl ];
2020

21-
env.NIX_CFLAGS_COMPILE = toString (
22-
[
23-
"-fcommon"
24-
"-O2"
25-
]
26-
++ lib.optional stdenv.cc.isClang "-Wno-error=implicit-int"
27-
);
21+
env.NIX_CFLAGS_COMPILE = toString ([
22+
"-fcommon"
23+
"-O2"
24+
"-Wno-implicit-int" # clang, gcc 14
25+
]);
2826

2927
configureFlags = [
3028
"--with-erlangstorage"

0 commit comments

Comments
 (0)