From: Dennis Stosberg Date: Mon, 26 Jun 2006 22:23:08 +0000 (+0200) Subject: Add possibility to pass CFLAGS and LDFLAGS specific to the perl subdir X-Git-Tag: v1.4.3-rc1~2^2~31 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c9093fb38b48dcf09dbf1fb5cbf72e2b1f2c1258;p=git.git Add possibility to pass CFLAGS and LDFLAGS specific to the perl subdir Signed-off-by: Dennis Stosberg Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index ee9508e46..2f66ab114 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 \