1 # $NetBSD: Makefile.inc,v 1.11 2015/01/29 20:45:16 joerg Exp $
3 .PATH: ${NETBSDSRCDIR}/sys/lib/libunwind
10 COPTS.libunwind.cxx+= ${${ACTIVE_CXX} == "gcc":? -std=c++0x : -std=c++11 }
11 COPTS.libunwind.cxx+= -funwind-tables -fno-rtti
12 COPTS.libunwind.cxx+= -fno-exceptions -fvisibility=hidden
13 COPTS.libunwind.cxx+= -Wno-old-style-cast
14 CPPFLAGS.libunwind.cxx+=-I${NETBSDSRCDIR}/sys/lib/libunwind
16 .if ${LIBC_MACHINE_CPU} == "arm"
17 AFLAGS.unwind_registers.S+= ${${ACTIVE_CC} == "clang":? -mfpu=vfp3 :}