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 Restrict -Wno-unused-but-set-v...
details: https://anonhg.NetBSD.org/src/rev/c0f26442724f
branches: trunk
changeset: 813473:c0f26442724f
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Jan 29 22:49:06 2016 +0000
description:
Restrict -Wno-unused-but-set-variable to gcc.
diffstat:
sys/external/bsd/drm2/nouveau/files.nouveau | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3112528cbb98 -r c0f26442724f sys/external/bsd/drm2/nouveau/files.nouveau
--- a/sys/external/bsd/drm2/nouveau/files.nouveau Fri Jan 29 22:39:00 2016 +0000
+++ b/sys/external/bsd/drm2/nouveau/files.nouveau Fri Jan 29 22:49:06 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.nouveau,v 1.12 2015/10/22 23:16:23 jmcneill Exp $
+# $NetBSD: files.nouveau,v 1.13 2016/01/29 22:49:06 joerg Exp $
define nouveaufbbus { }
device nouveau: drmkms, drmkms_ttm, nouveaufbbus
@@ -129,7 +129,7 @@
makeoptions nouveau "CWARNFLAGS.nouveau_engine_vp_nvc0.c"+="-Wno-missing-field-initializers"
makeoptions nouveau "CWARNFLAGS.nouveau_engine_vp_nve0.c"+="-Wno-missing-field-initializers"
makeoptions nouveau "CWARNFLAGS.nouveau_nv50_fence.c"+="-Wno-shadow"
-makeoptions nouveau "CWARNFLAGS.nouveau_nv50_display.c"+="-Wno-unused-but-set-variable"
+makeoptions nouveau "CWARNFLAGS.nouveau_nv50_display.c"+="${${ACTIVE_CC} == gcc:? -Wno-unused-but-set-variable :}"
makeoptions nouveau "CWARNFLAGS.nouveau_subdev_bar_base.c"+="-Wno-missing-field-initializers"
makeoptions nouveau "CWARNFLAGS.nouveau_subdev_bar_nv50.c"+="-Wno-missing-field-initializers"
makeoptions nouveau "CWARNFLAGS.nouveau_subdev_bar_nvc0.c"+="-Wno-missing-field-initializers"
Home |
Main Index |
Thread Index |
Old Index