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