Module Name:    src
Committed By:   joerg
Date:           Thu Jan 29 20:45:16 UTC 2015

Modified Files:
        src/sys/lib/libunwind: Makefile.inc

Log Message:
Force FPU support for Clang, don't disable IAS completely.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 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.10 src/sys/lib/libunwind/Makefile.inc:1.11
--- src/sys/lib/libunwind/Makefile.inc:1.10	Thu Oct 23 17:51:22 2014
+++ src/sys/lib/libunwind/Makefile.inc	Thu Jan 29 20:45:16 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.10 2014/10/23 17:51:22 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.11 2015/01/29 20:45:16 joerg Exp $
 
 .PATH:	${NETBSDSRCDIR}/sys/lib/libunwind
 
@@ -13,6 +13,6 @@ COPTS.libunwind.cxx+=	-fno-exceptions -f
 COPTS.libunwind.cxx+=	-Wno-old-style-cast
 CPPFLAGS.libunwind.cxx+=-I${NETBSDSRCDIR}/sys/lib/libunwind
 
-.if ${MACHINE_CPU} == "arm"
-AFLAGS.unwind_registers.S+=	${${ACTIVE_CC} == "clang":? -no-integrated-as :}
+.if ${LIBC_MACHINE_CPU} == "arm"
+AFLAGS.unwind_registers.S+=	${${ACTIVE_CC} == "clang":? -mfpu=vfp3 :}
 .endif

Reply via email to