diff options
Diffstat (limited to 'dev-util/plan9port/files/plan9port-cflags.patch')
-rw-r--r-- | dev-util/plan9port/files/plan9port-cflags.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/plan9port/files/plan9port-cflags.patch b/dev-util/plan9port/files/plan9port-cflags.patch new file mode 100644 index 000000000000..c2d2ed6defe5 --- /dev/null +++ b/dev-util/plan9port/files/plan9port-cflags.patch @@ -0,0 +1,16 @@ +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 +@@ -28,8 +28,6 @@ LD=9l + AS=9a + AR=9ar + INSTALL=install +-CFLAGS= +-LDFLAGS= + AFLAGS=--noexecstack + CLEANFILES= + NUKEFILES= |