summary refs log tree commit diff
path: root/pkgs/development/interpreters/gnu-apl
diff options
context:
space:
mode:
authorStefan Frijters <sfrijters@gmail.com>2021-05-07 20:57:33 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-07 14:44:01 -0700
commitc16380b5b46872c011d6aad9b7698e08fe6041a7 (patch)
tree52ababe0aac1c31c73ee751f56d8468418c3c302 /pkgs/development/interpreters/gnu-apl
parent4e4869b92bb982400c2908c30f895e0c68a41fdb (diff)
downloadnixpkgs-c16380b5b46872c011d6aad9b7698e08fe6041a7.tar
nixpkgs-c16380b5b46872c011d6aad9b7698e08fe6041a7.tar.gz
nixpkgs-c16380b5b46872c011d6aad9b7698e08fe6041a7.tar.bz2
nixpkgs-c16380b5b46872c011d6aad9b7698e08fe6041a7.tar.lz
nixpkgs-c16380b5b46872c011d6aad9b7698e08fe6041a7.tar.xz
nixpkgs-c16380b5b46872c011d6aad9b7698e08fe6041a7.tar.zst
nixpkgs-c16380b5b46872c011d6aad9b7698e08fe6041a7.zip
gnuapl: Fix build
One instance of this error/warning comes up during the build.
According to the comment in the code they know what they are doing,
so this can be ignored.
Diffstat (limited to 'pkgs/development/interpreters/gnu-apl')
-rw-r--r--pkgs/development/interpreters/gnu-apl/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/gnu-apl/default.nix b/pkgs/development/interpreters/gnu-apl/default.nix
index 9ae373ff7a8..abfa74bb67d 100644
--- a/pkgs/development/interpreters/gnu-apl/default.nix
+++ b/pkgs/development/interpreters/gnu-apl/default.nix
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
     "-Wno-error=class-memaccess"
     "-Wno-error=restrict"
     "-Wno-error=format-truncation"
+    # Needed with GCC 10
+    "-Wno-error=maybe-uninitialized"
    ]) ++ optional stdenv.cc.isClang "-Wno-error=null-dereference");
 
   patchPhase = lib.optionalString stdenv.isDarwin ''