Module Name: src
Committed By: joerg
Date: Sun Aug 21 12:39:18 UTC 2016
Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-openchrome: Makefile
Log Message:
HAVE_GCC may be undefined.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile:1.9 src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile:1.10
--- src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile:1.9 Sat Aug 20 20:22:53 2016
+++ src/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile Sun Aug 21 12:39:17 2016
@@ -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 12:39:17 joerg Exp $
DRIVER= xf86-video-openchrome
DRIVER_NAME= openchrome_drv
@@ -42,7 +42,7 @@ CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR
# XXX
COPTS.via_dri.c+= -Wno-error
-.if ${HAVE_GCC} > 48
+.if ${HAVE_GCC:U0} > 48
COPTS.via_driver.c+= ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
COPTS.via_lvds.c+= ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
.endif