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/xf86-video-sunffb Split -mv...
details: https://anonhg.NetBSD.org/src/rev/efeb7a7eb5b5
branches: trunk
changeset: 347979:efeb7a7eb5b5
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Sep 27 19:26:06 2016 +0000
description:
Split -mv8plus into the appropiate flags for GCC and clang.
diffstat:
external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 0d78f84e5af6 -r efeb7a7eb5b5 external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile Tue Sep 27 19:24:19 2016 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-sunffb/Makefile Tue Sep 27 19:26:06 2016 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index