Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/server/drivers HAVE_GCC may be undefined.



details:   https://anonhg.NetBSD.org/src/rev/4c1a061608dc
branches:  trunk
changeset: 347340:4c1a061608dc
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Aug 21 18:23:58 2016 +0000

description:
HAVE_GCC may be undefined.

diffstat:

 external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile       |  4 ++--
 external/mit/xorg/server/drivers/xf86-video-siliconmotion/Makefile |  4 ++--
 external/mit/xorg/server/drivers/xf86-video-sis/Makefile           |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 077d78ba6957 -r 4c1a061608dc external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile      Sun Aug 21 18:23:33 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile      Sun Aug 21 18:23:58 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2016/08/20 20:22:53 mrg Exp $
+#      $NetBSD: Makefile,v 1.4 2016/08/21 18:23:58 joerg Exp $
 
 DRIVER=                xf86-video-nouveau
 DRIVER_NAME=   nouveau_drv
@@ -48,7 +48,7 @@
 .include "../Makefile.xf86-driver"
 
 # XXX
-.if ${HAVE_GCC} > 48
+.if ${HAVE_GCC:U0} > 48
 COPTS.nouveau_xv.c+=   ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
 .endif
 
diff -r 077d78ba6957 -r 4c1a061608dc external/mit/xorg/server/drivers/xf86-video-siliconmotion/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-siliconmotion/Makefile        Sun Aug 21 18:23:33 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-siliconmotion/Makefile        Sun Aug 21 18:23:58 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2016/08/20 20:22:53 mrg Exp $
+#      $NetBSD: Makefile,v 1.10 2016/08/21 18:23:58 joerg Exp $
 
 DRIVER=                xf86-video-siliconmotion
 DRIVER_NAME=   siliconmotion_drv
@@ -14,7 +14,7 @@
 
 .include "../Makefile.xf86-driver"
 
-.if ${HAVE_GCC} > 48
+.if ${HAVE_GCC:U0} > 48
 COPTS.smi_video.c+=    ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
 .endif
 
diff -r 077d78ba6957 -r 4c1a061608dc external/mit/xorg/server/drivers/xf86-video-sis/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-sis/Makefile  Sun Aug 21 18:23:33 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-sis/Makefile  Sun Aug 21 18:23:58 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2016/08/20 20:22:54 mrg Exp $
+#      $NetBSD: Makefile,v 1.14 2016/08/21 18:23:58 joerg Exp $
 
 DRIVER=                xf86-video-sis
 DRIVER_NAME=   sis_drv
@@ -23,7 +23,7 @@
 .include "../Makefile.xf86-driver"
 
 # XXX
-.if ${HAVE_GCC} > 48
+.if ${HAVE_GCC:U0} > 48
 COPTS.sis_driver.c+=   ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
 COPTS.sis_utility.c+=  ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
 COPTS.initextx.c+=     ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}



Home | Main Index | Thread Index | Old Index