From: Dennis Stosberg Date: Mon, 26 Jun 2006 22:23:08 GMT Subject: [PATCH] Add possibility to pass CFLAGS and LDFLAGS specific to the perl subdir Message-ID: <20060626222308.G71066338@leonov.stosberg.net> In-Reply-To: <7vd5cvj1d0.fsf@assigned-by-dhcp.cox.net> Signed-off-by: Dennis Stosberg --- Makefile | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f44fbd3..306025d 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 @@ ### --- END CONFIGURATION SECTION --- # 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 \ -- 1.4.1.rc1.g80bff-dirty