You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/plan9port/files/plan9port-noexecstack.patch

20 lines
384 B

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