gnuapl: Fix build

One instance of this error/warning comes up during the build.
According to the comment in the code they know what they are doing,
so this can be ignored.
This commit is contained in:
Stefan Frijters 2021-05-07 20:57:33 +02:00 committed by Jonathan Ringer
parent 4e4869b92b
commit c16380b5b4

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
"-Wno-error=class-memaccess"
"-Wno-error=restrict"
"-Wno-error=format-truncation"
# Needed with GCC 10
"-Wno-error=maybe-uninitialized"
]) ++ optional stdenv.cc.isClang "-Wno-error=null-dereference");
patchPhase = lib.optionalString stdenv.isDarwin ''