summaryrefslogtreecommitdiff
path: root/lib/libexecinfo
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2013-04-27 06:24:22 +0000
committermatt <matt@NetBSD.org>2013-04-27 06:24:22 +0000
commit0cc319d29bdbc4ccca3c6e59f2823d897331ffc3 (patch)
treeb8309691666b083ce1b2266a0c457e6a1340fbec /lib/libexecinfo
parent8e9eb28beda64d8a9ac658fb44fa7e2acc13ffce (diff)
Changes for MKCOMPAT for earm.
Diffstat (limited to 'lib/libexecinfo')
-rw-r--r--lib/libexecinfo/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libexecinfo/Makefile b/lib/libexecinfo/Makefile
index ca977c6c30c..168f654473b 100644
--- a/lib/libexecinfo/Makefile
+++ b/lib/libexecinfo/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2013/04/25 14:48:09 matt Exp $
+# $NetBSD: Makefile,v 1.3 2013/04/27 06:24:23 matt Exp $
.include <bsd.own.mk>
+LIBEXECINFO_MACHINE_ARCH?= ${MACHINE_ARCH}
USE_UNWIND=yes
WARNS?=4
INCSDIR=/usr/include
@@ -19,7 +20,7 @@ MAN= backtrace.3
.if ${USE_UNWIND} == "yes"
SRCS+=unwind.c
-.if !empty(MACHINE_ARCH:Mearm)
+.if !empty(LIBEXECINFO_MACHINE_ARCH:Mearm)
SRCS+=unwind_arm_ehabi_stub.c
.endif
.else