summary refs log tree commit diff
path: root/pkgs/development/libraries/libglvnd
diff options
context:
space:
mode:
authorPatrick Hilhorst <git@hilhorst.be>2018-05-13 17:26:27 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-05-13 17:26:27 +0200
commit116cce8b5f868c18b91e67fb3b5ba0eed093e62e (patch)
tree621874cba8fbee92a8b3bae467c7e4d31154025f /pkgs/development/libraries/libglvnd
parentd93b3157c5b55943a7185690c09ed3dd28e238fe (diff)
downloadnixpkgs-116cce8b5f868c18b91e67fb3b5ba0eed093e62e.tar
nixpkgs-116cce8b5f868c18b91e67fb3b5ba0eed093e62e.tar.gz
nixpkgs-116cce8b5f868c18b91e67fb3b5ba0eed093e62e.tar.bz2
nixpkgs-116cce8b5f868c18b91e67fb3b5ba0eed093e62e.tar.lz
nixpkgs-116cce8b5f868c18b91e67fb3b5ba0eed093e62e.tar.xz
nixpkgs-116cce8b5f868c18b91e67fb3b5ba0eed093e62e.tar.zst
nixpkgs-116cce8b5f868c18b91e67fb3b5ba0eed093e62e.zip
libglvnd: set -Wno-error=array-bounds (#40432)
Diffstat (limited to 'pkgs/development/libraries/libglvnd')
-rw-r--r--pkgs/development/libraries/libglvnd/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libglvnd/default.nix b/pkgs/development/libraries/libglvnd/default.nix
index 7e1a2b54968..0661c56f016 100644
--- a/pkgs/development/libraries/libglvnd/default.nix
+++ b/pkgs/development/libraries/libglvnd/default.nix
@@ -20,6 +20,8 @@ in stdenv.mkDerivation rec {
     "-UDEFAULT_EGL_VENDOR_CONFIG_DIRS"
     # FHS paths are added so that non-NixOS applications can find vendor files.
     "-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${driverLink}/share/glvnd/egl_vendor.d:/etc/glvnd/egl_vendor.d:/usr/share/glvnd/egl_vendor.d\""
+
+    "-Wno-error=array-bounds"
   ];
 
   # Indirectly: https://bugs.freedesktop.org/show_bug.cgi?id=35268