Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/nouveau Limit warning suppression to n...



details:   https://anonhg.NetBSD.org/src/rev/c03a6c67fd65
branches:  trunk
changeset: 836375:c03a6c67fd65
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Oct 14 17:25:21 2018 +0000

description:
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!

diffstat:

 sys/external/bsd/drm2/nouveau/files.nouveau |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4ec768462e41 -r c03a6c67fd65 sys/external/bsd/drm2/nouveau/files.nouveau
--- a/sys/external/bsd/drm2/nouveau/files.nouveau       Sun Oct 14 14:31:05 2018 +0000
+++ b/sys/external/bsd/drm2/nouveau/files.nouveau       Sun Oct 14 17:25:21 2018 +0000
@@ -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 "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
 



Home | Main Index | Thread Index | Old Index