libglvnd: fix build with newer clang
This commit is contained in:
parent
255911fcb9
commit
b1e1957934
|
@ -33,7 +33,10 @@ stdenv.mkDerivation rec {
|
|||
"-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${addOpenGLRunpath.driverLink}/share/glvnd/egl_vendor.d:/etc/glvnd/egl_vendor.d:/usr/share/glvnd/egl_vendor.d\""
|
||||
|
||||
"-Wno-error=array-bounds"
|
||||
] ++ lib.optional stdenv.cc.isClang "-Wno-error");
|
||||
] ++ lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-error"
|
||||
"-Wno-int-conversion"
|
||||
]);
|
||||
|
||||
configureFlags = []
|
||||
# Indirectly: https://bugs.freedesktop.org/show_bug.cgi?id=35268
|
||||
|
|
Loading…
Reference in a new issue