ipxe: fix gcc5 build

gcc5 enables additional warnings, causing the build to fail with
-Werror.  The build could be fixed by specifically disabling errors
for `discarded-array-qualifiers` and `logical-not-parentheses` warnings,
but simply passing -Wno-error is more future proof.

See https://hydra.nixos.org/build/33274006/nixlog/1/raw
This commit is contained in:
Joachim Fasting 2016-03-19 19:50:36 +01:00
parent ae487615a6
commit 8dfb8d06f0

View file

@ -18,6 +18,8 @@ stdenv.mkDerivation {
preConfigure = "cd src";
NIX_CFLAGS_COMPILE = "-Wno-error";
makeFlags =
[ "ECHO_E_BIN_ECHO=echo" "ECHO_E_BIN_ECHO_E=echo" # No /bin/echo here.
"ISOLINUX_BIN_LIST=${syslinux}/share/syslinux/isolinux.bin"