summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authormacallan <macallan@NetBSD.org>2018-09-20 02:51:21 +0000
committermacallan <macallan@NetBSD.org>2018-09-20 02:51:21 +0000
commit628543e3da356c35a9acaa44cf7236a661bd000e (patch)
tree4d86c70b54991450cb73eb5fabf56fa2511e41ed /compat
parent00aa4b48a663ee0d45455651ee642f2cf2ac316d (diff)
don't build kernel grovelling tools as n64 on sgimips - we don't actually have
n64 kernels there. Yet.
Diffstat (limited to 'compat')
-rw-r--r--compat/exec.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/exec.mk b/compat/exec.mk
index bf4b098bb7c..1ab4eb67699 100644
--- a/compat/exec.mk
+++ b/compat/exec.mk
@@ -1,4 +1,4 @@
-# $NetBSD: exec.mk,v 1.3 2017/01/05 21:28:42 skrll Exp $
+# $NetBSD: exec.mk,v 1.4 2018/09/20 02:51:21 macallan Exp $
# this makefile fragment can be included to modify the default
# ABI a program is compiled with. this is designed to be used
@@ -27,7 +27,7 @@
# mips64 defaults to 32 bit userland, but with a 64 bit kernel
# most kvm-using tools are happier with 64 bit.
-.if ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb"
+.if ${MACHINE_ARCH} == "mips64el" || (${MACHINE_ARCH} == "mips64eb" && ${MACHINE} != "sgimips")
# XXX -pie makes n64 crash
NOPIE=1