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 not be set at all



details:   https://anonhg.NetBSD.org/src/rev/b3cc730cb765
branches:  trunk
changeset: 817747:b3cc730cb765
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Sep 05 06:30:40 2016 +0000

description:
HAVE_GCC may not be set at all

diffstat:

 external/mit/xorg/server/drivers/xf86-video-suncg6/Makefile |  4 ++--
 external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r bca87a8e7432 -r b3cc730cb765 external/mit/xorg/server/drivers/xf86-video-suncg6/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-suncg6/Makefile       Mon Sep 05 05:58:29 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-suncg6/Makefile       Mon Sep 05 06:30:40 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2016/08/20 20:22:54 mrg Exp $
+#      $NetBSD: Makefile,v 1.8 2016/09/05 06:30:40 martin Exp $
 
 DRIVER=                xf86-video-suncg6
 DRIVER_NAME=   suncg6_drv
@@ -12,6 +12,6 @@
 .include "../Makefile.xf86-driver"
 
 # XXX
-.if ${HAVE_GCC} > 48
+.if ${HAVE_GCC:U0} > 48
 COPTS.cg6_accel.c+=    ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
 .endif
diff -r bca87a8e7432 -r b3cc730cb765 external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile       Mon Sep 05 05:58:29 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile       Mon Sep 05 06:30:40 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2016/08/22 08:39:20 mrg Exp $
+#      $NetBSD: Makefile,v 1.11 2016/09/05 06:30:40 martin Exp $
 
 DRIVER=                xf86-video-sunffb
 DRIVER_NAME=   sunffb_drv
@@ -24,7 +24,7 @@
 .include "../Makefile.xf86-driver"
 
 # XXX
-.if ${HAVE_GCC} > 48
+.if ${HAVE_GCC:U0} > 48
 COPTS.ffb_dac.c+=      ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
 COPTS.ffb_dga.c+=      ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
 .endif



Home | Main Index | Thread Index | Old Index