Cross Reference: Makefile.inc
xref: /src/sys/lib/libunwind/Makefile.inc
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/lib/libunwind/
Makefile.inc revision 1.9
1#	$NetBSD: Makefile.inc,v 1.9 2014/06/30 20:42:31 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
14
15.if ${MACHINE_CPU} == "arm"
16AFLAGS.unwind_registers.S+=	${${ACTIVE_CC} == "clang":? -no-integrated-as :}
17.endif
18

Indexes created Mon Nov 10 17:20:41 GMT 2025