summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2022-02-05 05:39:55 +0000
committermrg <mrg@pkgsrc.org>2022-02-05 05:39:55 +0000
commit59f748ab2fbef5a0a6bad4f9b88d56b5c41fdb14 (patch)
tree1e84dce741f64f137ff9a4b3c0784f61034859a1 /shells
parent83b312cb576c57691e61f838588ac6b4870f8200 (diff)
downloadpkgsrc-59f748ab2fbef5a0a6bad4f9b88d56b5c41fdb14.tar.gz
disable PIE on arm64 - ./configure fails without this.
there is some PIE vs static issue, but i did not learn anything useful about what is causing it.
Diffstat (limited to 'shells')
-rw-r--r--shells/standalone-tcsh/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/shells/standalone-tcsh/Makefile b/shells/standalone-tcsh/Makefile
index 8e530a4d734..df66665267b 100644
--- a/shells/standalone-tcsh/Makefile
+++ b/shells/standalone-tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2021/12/09 19:55:39 kim Exp $
+# $NetBSD: Makefile,v 1.39 2022/02/05 05:39:55 mrg Exp $
#
# FIXME: This is because of PREFIX=/ below.
@@ -16,6 +16,11 @@ DESCR_SRC= ../../shells/tcsh/DESCR DESCR
# anyone wants.
ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
+.if "${OPSYS}" == "NetBSD" && \
+ (${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb")
+MKPIE_SUPPORTED= no
+.endif
+
.include "../../mk/bsd.prefs.mk"
.if ${OS_VARIANT} == "OmniOS"