If earm, include from lib/libexecinfo for unwind.h

This commit is contained in:
matt 2013-04-25 07:12:46 +00:00
parent ecaf413acf
commit 1c3095e278

View File

@ -1,8 +1,11 @@
# $NetBSD: Makefile.common,v 1.2 2012/02/17 08:13:18 matt Exp $
# $NetBSD: Makefile.common,v 1.3 2013/04/25 07:12:46 matt Exp $
LDELFSO=${NETBSDSRCDIR}/libexec/ld.elf_so
CPPFLAGS+= -I${LDELFSO} -DLIBDIR=\"${LIBDIR}\"
CPPFLAGS+= -D_RTLD_SOURCE
.if !empty(MACHINE_ARCH:Mearm*)
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libexecinfo
.endif
#CPPFLAGS+= -DDEBUG
.PATH: ${LDELFSO}