Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg apply -Wno-error=cpp only for GCC builds.
details: https://anonhg.NetBSD.org/src/rev/b7e040c9add8
branches: trunk
changeset: 347290:b7e040c9add8
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Aug 20 05:44:00 2016 +0000
description:
apply -Wno-error=cpp only for GCC builds.
diffstat:
external/mit/xorg/lib/libdrm/Makefile | 4 +++-
external/mit/xorg/server/drivers/xf86-video-i128/Makefile | 4 +++-
external/mit/xorg/server/drivers/xf86-video-i740/Makefile | 4 +++-
external/mit/xorg/server/drivers/xf86-video-nv/Makefile | 4 +++-
external/mit/xorg/server/drivers/xf86-video-s3/Makefile | 4 +++-
external/mit/xorg/server/drivers/xf86-video-tseng/Makefile | 4 +++-
6 files changed, 18 insertions(+), 6 deletions(-)
diffs (112 lines):
diff -r c9650a133101 -r b7e040c9add8 external/mit/xorg/lib/libdrm/Makefile
--- a/external/mit/xorg/lib/libdrm/Makefile Sat Aug 20 05:24:26 2016 +0000
+++ b/external/mit/xorg/lib/libdrm/Makefile Sat Aug 20 05:44:00 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2016/08/17 03:10:23 mrg Exp $
+# $NetBSD: Makefile,v 1.12 2016/08/20 05:44:00 mrg Exp $
.include <bsd.own.mk>
@@ -17,7 +17,9 @@
PKGCONFIG= libdrm
PKGDIST= ${LIB}
+.if ${ACTIVE_CC} == "gcc"
COPTS.xf86drm.c+= -Wno-error=cpp # #warnings needing porting
+.endif
CWARNFLAGS.clang+= -Wno-conversion -Wno-tautological-compare
diff -r c9650a133101 -r b7e040c9add8 external/mit/xorg/server/drivers/xf86-video-i128/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-i128/Makefile Sat Aug 20 05:24:26 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-i128/Makefile Sat Aug 20 05:44:00 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/08/20 05:02:58 mrg Exp $
+# $NetBSD: Makefile,v 1.4 2016/08/20 05:44:01 mrg Exp $
DRIVER= xf86-video-i128
DRIVER_NAME= i128_drv
@@ -7,6 +7,8 @@
SRCS+= i128IBMDAC.c i128init.c
MAN= i128.4
+.if ${ACTIVE_CC} == "gcc"
COPTS+= -Wno-error=cpp
+.endif
.include "../Makefile.xf86-driver"
diff -r c9650a133101 -r b7e040c9add8 external/mit/xorg/server/drivers/xf86-video-i740/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-i740/Makefile Sat Aug 20 05:24:26 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-i740/Makefile Sat Aug 20 05:44:00 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2016/08/20 05:02:58 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2016/08/20 05:44:01 mrg Exp $
DRIVER= xf86-video-i740
DRIVER_NAME= i740_drv
@@ -7,6 +7,8 @@
SRCS+= i740_i2c.c i740_io.c i740_video.c
MAN= i740.4
+.if ${ACTIVE_CC} == "gcc"
COPTS+= -Wno-error=cpp
+.endif
.include "../Makefile.xf86-driver"
diff -r c9650a133101 -r b7e040c9add8 external/mit/xorg/server/drivers/xf86-video-nv/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-nv/Makefile Sat Aug 20 05:24:26 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-nv/Makefile Sat Aug 20 05:44:00 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2016/08/16 06:24:02 mrg Exp $
+# $NetBSD: Makefile,v 1.9 2016/08/20 05:44:01 mrg Exp $
DRIVER= xf86-video-nv
DRIVER_NAME= nv_drv
@@ -26,7 +26,9 @@
.endif
# XXX
+.if ${ACTIVE_CC} == "gcc"
COPTS+= -Wno-error=cpp
+.endif
.include "../Makefile.xf86-driver"
diff -r c9650a133101 -r b7e040c9add8 external/mit/xorg/server/drivers/xf86-video-s3/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-s3/Makefile Sat Aug 20 05:24:26 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-s3/Makefile Sat Aug 20 05:44:00 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/08/20 00:48:23 mrg Exp $
+# $NetBSD: Makefile,v 1.14 2016/08/20 05:44:01 mrg Exp $
DRIVER= xf86-video-s3
DRIVER_NAME= s3_drv
@@ -22,7 +22,9 @@
CPPFLAGS+= -DPACKAGE_VERSION=\"${PACKAGE_VERSION}\"
# XXX xf86PciInfo.h
+.if ${ACTIVE_CC} == "gcc"
COPTS+= -Wno-error=cpp
+.endif
CWARNFLAGS.clang+= -Wno-parentheses
diff -r c9650a133101 -r b7e040c9add8 external/mit/xorg/server/drivers/xf86-video-tseng/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-tseng/Makefile Sat Aug 20 05:24:26 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-tseng/Makefile Sat Aug 20 05:44:00 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2016/08/20 05:02:58 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2016/08/20 05:44:01 mrg Exp $
DRIVER= xf86-video-tseng
DRIVER_NAME= tseng_drv
@@ -9,7 +9,9 @@
CPPFLAGS+= -I${X11SRCDIR.${DRIVER}}/../include
+.if ${ACTIVE_CC} == "gcc"
COPTS+= -Wno-error=cpp
+.endif
CWARNFLAGS.clang+= -Wno-pointer-sign
Home |
Main Index |
Thread Index |
Old Index