libglvnd: set -Wno-error=array-bounds (#40432)

This commit is contained in:
Patrick Hilhorst 2018-05-13 17:26:27 +02:00 committed by xeji
parent d93b3157c5
commit 116cce8b5f

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