From 87e9b90cbbee45eabf5efccf326bb0d9eb742fa5 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 27 Sep 2016 19:15:09 +0000 Subject: [PATCH] Disable pointer sign warnings for clang. --- external/mit/xorg/server/drivers/xf86-video-suncg14/Makefile | 3 ++- external/mit/xorg/server/drivers/xf86-video-suntcx/Makefile | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/external/mit/xorg/server/drivers/xf86-video-suncg14/Makefile b/external/mit/xorg/server/drivers/xf86-video-suncg14/Makefile index b445645731c7..e140cb4a1420 100644 --- a/external/mit/xorg/server/drivers/xf86-video-suncg14/Makefile +++ b/external/mit/xorg/server/drivers/xf86-video-suncg14/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2016/08/16 06:24:02 mrg Exp $ +# $NetBSD: Makefile,v 1.7 2016/09/27 19:15:10 joerg Exp $ DRIVER= xf86-video-suncg14 DRIVER_NAME= suncg14_drv @@ -7,5 +7,6 @@ SRCS= cg14_driver.c cg14_cursor.c cg14_accel.c cg14_render.c MAN= suncg14.4 CPPFLAGS+= -I${X11SRCDIR.${DRIVER}}/../include +CWARNFLAGS.clang+= -Wno-pointer-sign .include "../Makefile.xf86-driver" diff --git a/external/mit/xorg/server/drivers/xf86-video-suntcx/Makefile b/external/mit/xorg/server/drivers/xf86-video-suntcx/Makefile index 80e8a19730c6..66fcc8a5888a 100644 --- a/external/mit/xorg/server/drivers/xf86-video-suntcx/Makefile +++ b/external/mit/xorg/server/drivers/xf86-video-suntcx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2016/08/16 06:24:03 mrg Exp $ +# $NetBSD: Makefile,v 1.4 2016/09/27 19:15:09 joerg Exp $ DRIVER= xf86-video-suntcx DRIVER_NAME= suntcx_drv @@ -9,4 +9,6 @@ CPPFLAGS+= ${X11FLAGS.DRI} MAN= suntcx.4 +CWARNFLAGS.clang+= -Wno-pointer-sign + .include "../Makefile.xf86-driver"