summaryrefslogtreecommitdiff
blob: c2d2ed6defe5eef88b18a417ed6ecf64d691e62d (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
@@ -28,8 +28,6 @@ LD=9l
 AS=9a
 AR=9ar
 INSTALL=install
-CFLAGS=
-LDFLAGS=
 AFLAGS=--noexecstack
 CLEANFILES=
 NUKEFILES=