summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-08-01 15:50:34 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-08-01 15:50:34 +0000
commit62ad74845436fdfd9c6349818f19b553ac43eb95 (patch)
treefabac01efeefaf9fcce0e8b95c52dd997028ebb6 /test/Makefile
parent46588d4fb9c38ed7ce0cb561884fc20230dc9fd7 (diff)
downloadllvm-62ad74845436fdfd9c6349818f19b553ac43eb95.tar.gz
llvm-62ad74845436fdfd9c6349818f19b553ac43eb95.tar.bz2
llvm-62ad74845436fdfd9c6349818f19b553ac43eb95.tar.xz
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
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 483db23d36..f5e9ff52bf 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