diff options
author | Fabián Heredia Montiel <fabianhjr@protonmail.com> | 2022-04-15 11:53:31 -0500 |
---|---|---|
committer | Fabián Heredia Montiel <fabianhjr@protonmail.com> | 2022-04-15 11:56:50 -0500 |
commit | 75e732b70902eb57cf87870113896f8bf306b20a (patch) | |
tree | 5577814d332eaf0d8846ab2dd219b21979d42fc2 | |
parent | 5ea7a84ceb8996e1726c03d119a735080b1110ec (diff) | |
download | nixpkgs-75e732b70902eb57cf87870113896f8bf306b20a.tar nixpkgs-75e732b70902eb57cf87870113896f8bf306b20a.tar.gz nixpkgs-75e732b70902eb57cf87870113896f8bf306b20a.tar.bz2 nixpkgs-75e732b70902eb57cf87870113896f8bf306b20a.tar.lz nixpkgs-75e732b70902eb57cf87870113896f8bf306b20a.tar.xz nixpkgs-75e732b70902eb57cf87870113896f8bf306b20a.tar.zst nixpkgs-75e732b70902eb57cf87870113896f8bf306b20a.zip |
gnuapl: add extra `-Wno-error` for gcc11
-rw-r--r-- | pkgs/development/interpreters/gnu-apl/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/gnu-apl/default.nix b/pkgs/development/interpreters/gnu-apl/default.nix index 0f666dd9af5..836a09961fa 100644 --- a/pkgs/development/interpreters/gnu-apl/default.nix +++ b/pkgs/development/interpreters/gnu-apl/default.nix @@ -11,14 +11,16 @@ stdenv.mkDerivation rec { buildInputs = [ readline gettext ncurses ]; - # Needed with GCC 8 NIX_CFLAGS_COMPILE = with lib; toString ((optionals stdenv.cc.isGNU [ + # Needed with GCC 8 "-Wno-error=int-in-bool-context" "-Wno-error=class-memaccess" "-Wno-error=restrict" "-Wno-error=format-truncation" # Needed with GCC 10 "-Wno-error=maybe-uninitialized" + # Needed with GCC 11 + "-Wno-error=misleading-indentation" ]) ++ optional stdenv.cc.isClang "-Wno-error=null-dereference"); patchPhase = lib.optionalString stdenv.isDarwin '' |