Module Name: src
Committed By: matt
Date: Thu Apr 25 07:12:46 UTC 2013
Modified Files:
src/usr.bin/ldd: Makefile.common
Log Message:
If earm, include from lib/libexecinfo for unwind.h
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/ldd/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/ldd/Makefile.common
diff -u src/usr.bin/ldd/Makefile.common:1.2 src/usr.bin/ldd/Makefile.common:1.3
--- src/usr.bin/ldd/Makefile.common:1.2 Fri Feb 17 08:13:18 2012
+++ src/usr.bin/ldd/Makefile.common Thu Apr 25 07:12:46 2013
@@ -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}