Add possibility to pass CFLAGS and LDFLAGS specific to the perl subdir
Signed-off-by: Dennis Stosberg <dennis@stosberg.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Dennis Stosberg committed
Jun 27, 2006 at 00:23 UTC
c9093fb38b48dcf09dbf1fb5cbf72e2b1f2c1258
1 file changed
+4
-2
Makefile
+4
-2
@@ -94,6 +94,8 @@ CFLAGS = -g -O2 -Wall
94
LDFLAGS =
95
ALL_CFLAGS = $(CFLAGS)
96
ALL_LDFLAGS = $(LDFLAGS)
97
+PERL_CFLAGS =
98
+PERL_LDFLAGS =
99
STRIP ?= strip
100
101
prefix = $(HOME)
@@ -119,8 +121,8 @@ SPARSE_FLAGS = -D__BIG_ENDIAN__ -D__powerpc__
121
122
# Those must not be GNU-specific; they are shared with perl/ which may
123
# be built by a different compiler.
122
-BASIC_CFLAGS =
123
-BASIC_LDFLAGS =
124
+BASIC_CFLAGS = $(PERL_CFLAGS)
125
+BASIC_LDFLAGS = $(PERL_LDFLAGS)
126
127
SCRIPT_SH = \
128
git-bisect.sh git-branch.sh git-checkout.sh \