3
0
Fork 0
forked from mirrors/nixpkgs

cjdns: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 12:58:01 +01:00
parent c72bd90940
commit f8d610c1d9
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation {
# for flock
stdenv.lib.optional stdenv.isLinux utillinux;
CFLAGS = "-O2";
CFLAGS = "-O2 -Wno-error=stringop-truncation";
buildPhase =
stdenv.lib.optionalString stdenv.isAarch32 "Seccomp_NO=1 "
+ "bash do";