Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libunwind IAS is clang specific.



details:   https://anonhg.NetBSD.org/src/rev/c48a906ec3d8
branches:  trunk
changeset: 330237:c48a906ec3d8
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jun 30 20:42:31 2014 +0000

description:
IAS is clang specific.

diffstat:

 sys/lib/libunwind/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 1b5c6d486796 -r c48a906ec3d8 sys/lib/libunwind/Makefile.inc
--- a/sys/lib/libunwind/Makefile.inc    Mon Jun 30 17:51:31 2014 +0000
+++ b/sys/lib/libunwind/Makefile.inc    Mon Jun 30 20:42:31 2014 +0000
@@ -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+=  -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



Home | Main Index | Thread Index | Old Index