cjdns: add extra -Wno-error
for gcc11
This commit is contained in:
parent
e91da70b45
commit
9028cd4eff
1 changed files with 8 additions and 1 deletions
|
@ -15,7 +15,14 @@ stdenv.mkDerivation rec {
|
|||
# for flock
|
||||
lib.optional stdenv.isLinux util-linux;
|
||||
|
||||
CFLAGS = "-O2 -Wno-error=stringop-truncation";
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-O2"
|
||||
"-Wno-error=array-bounds"
|
||||
"-Wno-error=stringop-overflow"
|
||||
"-Wno-error=stringop-overread"
|
||||
"-Wno-error=stringop-truncation"
|
||||
];
|
||||
|
||||
buildPhase =
|
||||
lib.optionalString stdenv.isAarch32 "Seccomp_NO=1 "
|
||||
+ "bash do";
|
||||
|
|
Loading…
Reference in a new issue