Drop main() prototype. Syncs with NetBSD-8
[minix.git] / sys / lib / libunwind / Makefile.inc
blobe0f4ea71da50e24d249540339ba5656030c511a1
1 #       $NetBSD: Makefile.inc,v 1.11 2015/01/29 20:45:16 joerg Exp $
3 .PATH:  ${NETBSDSRCDIR}/sys/lib/libunwind
5 SRCS+=  libunwind.cxx \
6         unwind_registers.S
8 INCS+=  unwind.h
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 :}
18 .endif