Makefile: Pass USE_LIBPCRE down in GIT-BUILD-OPTIONS

Otherwise we would fail to rebuild correctly when this option was changed between $(MAKE) invocations, and more importantly, $(MAKE) test would not pass it down and t/test-lib.sh would not set the LIBPCRE prerequisite. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed May 16, 2011 at 00:11 UTC a80dff25152f43e8a9a688943cb5f67d2ad76fc4
1 file changed +1
Makefile
+1
@@ -2109,6 +2109,7 @@ GIT-BUILD-OPTIONS: FORCE
2109 @echo PYTHON_PATH=\''$(subst ','\'',$(PYTHON_PATH_SQ))'\' >>$@
2110 @echo TAR=\''$(subst ','\'',$(subst ','\'',$(TAR)))'\' >>$@
2111 @echo NO_CURL=\''$(subst ','\'',$(subst ','\'',$(NO_CURL)))'\' >>$@
2112 + @echo USE_LIBPCRE=\''$(subst ','\'',$(subst ','\'',$(USE_LIBPCRE)))'\' >>$@
2113 @echo NO_PERL=\''$(subst ','\'',$(subst ','\'',$(NO_PERL)))'\' >>$@
2114 @echo NO_PYTHON=\''$(subst ','\'',$(subst ','\'',$(NO_PYTHON)))'\' >>$@
2115 ifdef GIT_TEST_CMP