summaryrefslogtreecommitdiff
path: root/libexec/ld.elf_so/Makefile
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2013-10-09 22:33:41 +0000
committermatt <matt@NetBSD.org>2013-10-09 22:33:41 +0000
commit38da7a5fdeed148fc3ab0f81df235279cdff5baf (patch)
tree8cbe79be8b3b5bb8452009b29b126e32706bd9c7 /libexec/ld.elf_so/Makefile
parent346777ab60cc2b7258fac5c3c9667fc54db81971 (diff)
Use MACHINE_CPU for m68k. Use similar logic for both tests.
Diffstat (limited to 'libexec/ld.elf_so/Makefile')
-rw-r--r--libexec/ld.elf_so/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile
index 36e6fb373c5..bade02b5a29 100644
--- a/libexec/ld.elf_so/Makefile
+++ b/libexec/ld.elf_so/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.122 2013/08/12 17:15:46 joerg Exp $
+# $NetBSD: Makefile,v 1.123 2013/10/09 22:33:41 matt Exp $
#
# NOTE: when changing ld.so, ensure that ldd still compiles.
#
@@ -100,7 +100,7 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libexecinfo
#DBG= -g
COPTS+= -O3
-.if ${MACHINE_ARCH} != "m68k" && ${MACHINE_CPU} != "sh3" && ${MACHINE_ARCH} != "vax"
+.if ${MACHINE_CPU} != "m68k" && ${MACHINE_CPU} != "sh3" && ${MACHINE_ARCH} != "vax"
COPTS+= -fomit-frame-pointer
.endif