Module Name:    src
Committed By:   mrg
Date:           Tue Aug 30 04:04:07 UTC 2016

Modified Files:
        src/external/mit/xorg/server/xorg-server/hw/xfree86/common: Makefile

Log Message:
apply some more -Wno-error=discarded-qualifiers


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 \
    src/external/mit/xorg/server/xorg-server/hw/xfree86/common/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/xorg-server/hw/xfree86/common/Makefile
diff -u src/external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile:1.25 src/external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile:1.26
--- src/external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile:1.25	Fri Aug 19 19:10:54 2016
+++ src/external/mit/xorg/server/xorg-server/hw/xfree86/common/Makefile	Tue Aug 30 04:04:07 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.25 2016/08/19 19:10:54 mrg Exp $
+#	$NetBSD: Makefile,v 1.26 2016/08/30 04:04:07 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -125,6 +125,9 @@ CPPFLAGS.xf86AutoConfig.c=	-DPROJECTROOT
 				-DIDRIVERS='"${IDRIVERS}"'
 
 COPTS.xf86sbusBus.c=		-Wno-error=incompatible-pointer-types
+.if ${HAVE_GCC:U0} > 48
+COPTS.xf86Configure.c=		${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
+.endif
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>

Reply via email to