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 Don't bail out on the const...
details: https://anonhg.NetBSD.org/src/rev/0d78f84e5af6
branches: trunk
changeset: 347978:0d78f84e5af6
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Sep 27 19:24:19 2016 +0000
description:
Don't bail out on the const lose for the driver name for clang. Also
accepts differences in pointer signs.
diffstat:
external/mit/xorg/server/drivers/xf86-video-suncg6/Makefile | 3 ++-
external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 94f4bdfce158 -r 0d78f84e5af6 external/mit/xorg/server/drivers/xf86-video-suncg6/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-suncg6/Makefile Tue Sep 27 19:18:42 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-suncg6/Makefile Tue Sep 27 19:24:19 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2016/09/05 06:30:40 martin Exp $
+# $NetBSD: Makefile,v 1.9 2016/09/27 19:24:19 joerg Exp $
DRIVER= xf86-video-suncg6
DRIVER_NAME= suncg6_drv
@@ -15,3 +15,4 @@
.if ${HAVE_GCC:U0} > 48
COPTS.cg6_accel.c+= ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
.endif
+COPTS.cg6_accel.c+= ${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :}
diff -r 94f4bdfce158 -r 0d78f84e5af6 external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile Tue Sep 27 19:18:42 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile Tue Sep 27 19:24:19 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2016/09/05 06:30:40 martin Exp $
+# $NetBSD: Makefile,v 1.12 2016/09/27 19:24:19 joerg Exp $
DRIVER= xf86-video-sunffb
DRIVER_NAME= sunffb_drv
@@ -28,3 +28,6 @@
COPTS.ffb_dac.c+= ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
COPTS.ffb_dga.c+= ${${ACTIVE_CC} == "gcc":? -Wno-error=discarded-qualifiers :}
.endif
+COPTS.ffb_dac.c+= ${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :}
+COPTS.ffb_dga.c+= ${${ACTIVE_CC} == "clang":? -Wno-error=incompatible-pointer-types-discards-qualifiers :}
+COPTS.ffb_exa.c+= ${${ACTIVE_CC} == "clang":? -Wno-error=pointer-sign :}
Home |
Main Index |
Thread Index |
Old Index