Module Name: src
Committed By: riastradh
Date: Sun Oct 14 17:25:22 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/nouveau: files.nouveau
Log Message:
Limit warning suppression to nouveau files.
Make this match what I have in my drmkms update.
Please don't touch files under sys/external/bsd/drm2 without
consulting me while I'm updating drmkms!
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/external/bsd/drm2/nouveau/files.nouveau
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/nouveau/files.nouveau
diff -u src/sys/external/bsd/drm2/nouveau/files.nouveau:1.22 src/sys/external/bsd/drm2/nouveau/files.nouveau:1.23
--- src/sys/external/bsd/drm2/nouveau/files.nouveau:1.22 Fri Oct 12 01:16:20 2018
+++ src/sys/external/bsd/drm2/nouveau/files.nouveau Sun Oct 14 17:25:21 2018
@@ -1,4 +1,4 @@
-# $NetBSD: files.nouveau,v 1.22 2018/10/12 01:16:20 christos Exp $
+# $NetBSD: files.nouveau,v 1.23 2018/10/14 17:25:21 riastradh Exp $
version 20180827
@@ -27,7 +27,7 @@ makeoptions nouveau CPPFLAGS+="-DCONFIG_
makeoptions nouveau "CWARNFLAGS.nouveau"+="-Wno-missing-field-initializers"
makeoptions nouveau "CWARNFLAGS.nouveau"+="-Wno-shadow"
-makeoptions nouveau "CWARNFLAGS.clang"+="-Wno-gnu-variable-sized-type-not-at-end"
+makeoptions nouveau "CWARNFLAGS.nouveau"+="${${ACTIVE_CC} == clang:? -Wno-error=gnu-variable-sized-type-not-at-end :}"
file external/bsd/drm2/nouveau/nouveau_module.c nouveau