Module Name: src
Committed By: joerg
Date: Mon Jun 30 20:42:31 UTC 2014
Modified Files:
src/sys/lib/libunwind: Makefile.inc
Log Message:
IAS is clang specific.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/lib/libunwind/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libunwind/Makefile.inc
diff -u src/sys/lib/libunwind/Makefile.inc:1.8 src/sys/lib/libunwind/Makefile.inc:1.9
--- src/sys/lib/libunwind/Makefile.inc:1.8 Sat Jun 28 20:18:15 2014
+++ src/sys/lib/libunwind/Makefile.inc Mon Jun 30 20:42:31 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.8 2014/06/28 20:18:15 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.9 2014/06/30 20:42:31 joerg Exp $
.PATH: ${NETBSDSRCDIR}/sys/lib/libunwind
@@ -13,5 +13,5 @@ COPTS.libunwind.cxx+= -fno-exceptions -f
COPTS.libunwind.cxx+= -Wno-old-style-cast
.if ${MACHINE_CPU} == "arm"
-AFLAGS.unwind_registers.S+= -no-integrated-as
+AFLAGS.unwind_registers.S+= ${${ACTIVE_CC} == "clang":? -no-integrated-as :}
.endif