From: Nuno Lopes Date: Wed, 1 Aug 2012 15:50:34 +0000 (+0000) Subject: fix 'make check' when ocamlopt returns the compiler path with CFLAGS (and there's... X-Git-Tag: android-x86-6.0-r1~179^2~4259 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=62ad74845436fdfd9c6349818f19b553ac43eb95;p=android-x86%2Fexternal-llvm.git fix 'make check' when ocamlopt returns the compiler path with CFLAGS (and there's a cflag with a = char) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161114 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Makefile b/test/Makefile index 483db23d365..f5e9ff52bfc 100644 --- a/test/Makefile +++ b/test/Makefile @@ -122,7 +122,7 @@ lit.site.cfg: FORCE @$(ECHOPATH) s=@SHLIBDIR@=$(SharedLibDir)=g >> lit.tmp @$(ECHOPATH) s=@SHLIBEXT@=$(SHLIBEXT)=g >> lit.tmp @$(ECHOPATH) s=@PYTHON_EXECUTABLE@=python=g >> lit.tmp - @$(ECHOPATH) s=@OCAMLOPT@=$(OCAMLOPT) -cc \"$(CXX_FOR_OCAMLOPT)\" -I $(LibDir)/ocaml=g >> lit.tmp + @$(ECHOPATH) s,@OCAMLOPT@,$(OCAMLOPT) -cc \\\\\"$(CXX_FOR_OCAMLOPT)\\\\\" -I $(LibDir)/ocaml,g >> lit.tmp @$(ECHOPATH) s=@ENABLE_SHARED@=$(ENABLE_SHARED)=g >> lit.tmp @$(ECHOPATH) s=@ENABLE_ASSERTIONS@=$(ENABLE_ASSERTIONS)=g >> lit.tmp @$(ECHOPATH) s=@TARGETS_TO_BUILD@=$(TARGETS_TO_BUILD)=g >> lit.tmp