From 1c3095e2785c20894a9441cb0818e9dd70e6bd58 Mon Sep 17 00:00:00 2001 From: matt Date: Thu, 25 Apr 2013 07:12:46 +0000 Subject: [PATCH] If earm, include from lib/libexecinfo for unwind.h --- usr.bin/ldd/Makefile.common | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr.bin/ldd/Makefile.common b/usr.bin/ldd/Makefile.common index e62aef0322e8..6193b7177e53 100644 --- a/usr.bin/ldd/Makefile.common +++ b/usr.bin/ldd/Makefile.common @@ -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}