1
0
Fork 1
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:
Pierre Bourdon 2023-05-08 23:23:18 +02:00
parent 8c061c33a4
commit a8443f1530
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -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";