gentoo/dev-util/plan9port/files/plan9port-cflags.patch
neeshy 2758e2b15c
dev-util/plan9port: bump version to 0_pre20200526
Signed-off-by: Nima Sadeghi <neeshy@tfwno.gf>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2020-06-02 14:13:44 +03:00

17 lines
312 B
Diff

Prevent resetting CFLAGS and LDFLAGS
This allows the plan9port build to inherit cflags from the environment.
(This patch must be applied after plan9port-noexecstack.patch)
--- a/src/mkhdr
+++ b/src/mkhdr
@@ -11,8 +11,6 @@
LD=9l
AS=9a
AR=9ar
-CFLAGS=
-LDFLAGS=
AFLAGS=--noexecstack
CLEANFILES=
NUKEFILES=