Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libunwind Force FPU support for Clang, don't disable...



details:   https://anonhg.NetBSD.org/src/rev/f10acb76bb77
branches:  trunk
changeset: 806051:f10acb76bb77
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jan 29 20:45:16 2015 +0000

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

diffstat:

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

diffs (18 lines):

diff -r 82a29db6f139 -r f10acb76bb77 sys/lib/libunwind/Makefile.inc
--- a/sys/lib/libunwind/Makefile.inc    Thu Jan 29 20:44:38 2015 +0000
+++ b/sys/lib/libunwind/Makefile.inc    Thu Jan 29 20:45:16 2015 +0000
@@ -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+=  -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



Home | Main Index | Thread Index | Old Index