src_prepare-overlay/dev-util/plan9port/files/plan9port-cflags.patch
Maciej Barć 2aebb15ce9
dev-util/plan9port: add version 2021.03.21 and 2021.10.05
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@riseup.net>
2021-10-13 13:53:24 +02: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=