Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libunwind Explicitly compile libunwind with vfp3 bec...



details:   https://anonhg.NetBSD.org/src/rev/49cfc7431e9a
branches:  trunk
changeset: 966838:49cfc7431e9a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 17 22:53:33 2019 +0000

description:
Explicitly compile libunwind with vfp3 because gcc-8 defaults to neon
and breaks exceptions.

diffstat:

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

diffs (16 lines):

diff -r e81e78858d81 -r 49cfc7431e9a sys/lib/libunwind/Makefile.inc
--- a/sys/lib/libunwind/Makefile.inc    Sun Nov 17 19:51:35 2019 +0000
+++ b/sys/lib/libunwind/Makefile.inc    Sun Nov 17 22:53:33 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.11 2015/01/29 20:45:16 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.12 2019/11/17 22:53:33 christos Exp $
 
 .PATH: ${NETBSDSRCDIR}/sys/lib/libunwind
 
@@ -14,5 +14,6 @@
 CPPFLAGS.libunwind.cxx+=-I${NETBSDSRCDIR}/sys/lib/libunwind
 
 .if ${LIBC_MACHINE_CPU} == "arm"
+COPTS.libunwind.cxx+=  ${${ACTIVE_CC} == "gcc":? -mfpu=vfp3 :}
 AFLAGS.unwind_registers.S+=    ${${ACTIVE_CC} == "clang":? -mfpu=vfp3 :}
 .endif



Home | Main Index | Thread Index | Old Index