Module Name: src
Committed By: joerg
Date: Tue Sep 27 19:26:06 UTC 2016
Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-sunffb: Makefile
Log Message:
Split -mv8plus into the appropiate flags for GCC and clang.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
src/external/mit/xorg/server/drivers/xf86-video-sunffb/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-sunffb/Makefile
diff -u src/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile:1.12 src/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile:1.13
--- src/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile:1.12 Tue Sep 27 19:24:19 2016
+++ src/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile Tue Sep 27 19:26:06 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2016/09/27 19:24:19 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2016/09/27 19:26:06 joerg Exp $
DRIVER= xf86-video-sunffb
DRIVER_NAME= sunffb_drv
@@ -14,7 +14,8 @@ AFLAGS+= -x assembler-with-cpp -Wa,-Av9a
.if ${MACHINE_ARCH} == "sparc"
AFLAGS+= -x assembler-with-cpp -Wa,-Av8plusa
-COPTS= -mv8plus
+COPTS+= ${${ACTIVE_CC} == "gcc" :? -mv8plus :}
+COPTS+= ${${ACTIVE_CC} == "clang" :? -Wa,-Av8plusa :}
.endif
CPPFLAGS+= ${X11FLAGS.DRI} -DUSE_VIS