summaryrefslogtreecommitdiff
path: root/dev-util/plan9port/files/plan9port-cflags.patch
blob: 74bd60518d08430e991775990f1cd3f3e26442ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
@@ -11,8 +11,6 @@
 LD=9l
 AS=9a
 AR=9ar
-CFLAGS=
-LDFLAGS=
 AFLAGS=--noexecstack
 CLEANFILES=
 NUKEFILES=