pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/standalone-tcsh disable PIE on arm64 - ./config...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a57809c4021d
branches:  trunk
changeset: 373043:a57809c4021d
user:      mrg <mrg%pkgsrc.org@localhost>
date:      Sat Feb 05 05:39:55 2022 +0000

description:
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:

 shells/standalone-tcsh/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 301459f5a2c3 -r a57809c4021d shells/standalone-tcsh/Makefile
--- a/shells/standalone-tcsh/Makefile   Sat Feb 05 04:55:24 2022 +0000
+++ b/shells/standalone-tcsh/Makefile   Sat Feb 05 05:39:55 2022 +0000
@@ -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 @@
 # 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"



Home | Main Index | Thread Index | Old Index