pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rust188: turn off ASLR on NetBSD/i386, so that firefox can build natively.
Module Name: pkgsrc-wip
Committed By: Havard Eidnes <he%NetBSD.org@localhost>
Pushed By: he
Date: Tue Jul 15 23:09:04 2025 +0200
Changeset: b9d5a6a72b258cab81c069f62e4ed73eece9433d
Modified Files:
rust188/Makefile
Log Message:
rust188: turn off ASLR on NetBSD/i386, so that firefox can build natively.
Ref. https://mail-index.netbsd.org/pkgsrc-users/2025/07/15/msg041760.html
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b9d5a6a72b258cab81c069f62e4ed73eece9433d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust188/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diffs:
diff --git a/rust188/Makefile b/rust188/Makefile
index 155e1ddacb..cd9655d7d5 100644
--- a/rust188/Makefile
+++ b/rust188/Makefile
@@ -615,6 +615,13 @@ do-install:
done
.endif
+.if ${MACHINE_PLATFORM:MNetBSD-*-i386}
+# Turn off Address space layout randomization
+# so that we can build firefox natively:
+post-install:
+ paxctl +a ${DESTDIR}/${PREFIX}/bin/rustc
+.endif
+
SUBST_CLASSES+= destdir
SUBST_STAGE.destdir= post-install
SUBST_FILES.destdir= ${DESTDIR}${PREFIX}/lib/rustlib/manifest-*
Home |
Main Index |
Thread Index |
Old Index