gentoo/dev-util/plan9port/files/plan9port-noexecstack.patch
Alessandro Barbieri a8bdd5209a
dev-util/plan9port: new snapshot
non-free fonts under useflag
remove live ebuild
remove old snapshot

Bug: https://bugs.gentoo.org/791742
Closes: https://bugs.gentoo.org/779214
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2021-09-09 09:26:40 -04:00

20 lines
384 B
Diff

Remove unneeded executable stack
Assembly routines in libthread and libmp use an executable stack by
default. This is not needed and can be removed using --noexecstack.
Patch by Andy Spencer
http://code.swtch.com/plan9port/issue/76/
--- a/src/mkhdr
+++ b/src/mkhdr
@@ -13,7 +13,7 @@
AR=9ar
CFLAGS=
LDFLAGS=
-AFLAGS=
+AFLAGS=--noexecstack
CLEANFILES=
NUKEFILES=
YACC=9 yacc