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:
parent
ae487615a6
commit
8dfb8d06f0
|
@ -18,6 +18,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
preConfigure = "cd src";
|
preConfigure = "cd src";
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||||
|
|
||||||
makeFlags =
|
makeFlags =
|
||||||
[ "ECHO_E_BIN_ECHO=echo" "ECHO_E_BIN_ECHO_E=echo" # No /bin/echo here.
|
[ "ECHO_E_BIN_ECHO=echo" "ECHO_E_BIN_ECHO_E=echo" # No /bin/echo here.
|
||||||
"ISOLINUX_BIN_LIST=${syslinux}/share/syslinux/isolinux.bin"
|
"ISOLINUX_BIN_LIST=${syslinux}/share/syslinux/isolinux.bin"
|
||||||
|
|
Loading…
Reference in New Issue