mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
acpica-tools: disable -Werror to fix i686-linux builds
This commit is contained in:
parent
8c061c33a4
commit
a8443f1530
|
@ -36,6 +36,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# i686 builds fail with hardening enabled (due to -Wformat-overflow). Disable
|
||||
# -Werror altogether to make this derivation less fragile to toolchain
|
||||
# updates.
|
||||
NOWERROR = "TRUE";
|
||||
|
||||
# We can handle stripping ourselves.
|
||||
# Unless we are on Darwin. Upstream makefiles degrade coreutils install to cp if _APPLE is detected.
|
||||
INSTALLFLAGS = lib.optionals (!stdenv.isDarwin) "-m 555";
|
||||
|
|
Loading…
Reference in a new issue