Code

Add possibility to pass CFLAGS and LDFLAGS specific to the perl subdir
authorDennis Stosberg <dennis@stosberg.net>
Mon, 26 Jun 2006 22:23:08 +0000 (00:23 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 3 Jul 2006 00:14:43 +0000 (17:14 -0700)
Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index ee9508e465149ba5f0abbc8e4e49e14f0c9d5c9f..2f66ab114365ea3ccb3e4c28a4c3dfc9ea794636 100644 (file)
--- 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 \