summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDennis Stosberg <dennis@stosberg.net>2006-06-27 00:23:08 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-02 17:14:43 -0700
commitc9093fb38b48dcf09dbf1fb5cbf72e2b1f2c1258 (patch)
tree84106a23f200b81f39c3047296b278595c32b867 /Makefile
parent8d7f586f13f5aac31dca22b1d726e1583e180cb5 (diff)
downloadgit-c9093fb38b48dcf09dbf1fb5cbf72e2b1f2c1258.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ee9508e465..2f66ab1143 100644
--- a/Makefile
+++ b/Makefile
@@ -94,6 +94,8 @@ CFLAGS = -g -O2 -Wall
LDFLAGS =
ALL_CFLAGS = $(CFLAGS)
ALL_LDFLAGS = $(LDFLAGS)
+PERL_CFLAGS =
+PERL_LDFLAGS =
STRIP ?= strip
prefix = $(HOME)
@@ -119,8 +121,8 @@ SPARSE_FLAGS = -D__BIG_ENDIAN__ -D__powerpc__
# Those must not be GNU-specific; they are shared with perl/ which may
# be built by a different compiler.
-BASIC_CFLAGS =
-BASIC_LDFLAGS =
+BASIC_CFLAGS = $(PERL_CFLAGS)
+BASIC_LDFLAGS = $(PERL_LDFLAGS)
SCRIPT_SH = \
git-bisect.sh git-branch.sh git-checkout.sh \