summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-09-02 15:16:51 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-09-02 15:16:51 +0000
commitad5a0ce40b8c4897ba3e12c3ec645bd38b95adff (patch)
tree2a888da94acdcc81a3a359f5798fc15a13b3b361 /test/Makefile
parent3ba5de6a6363d2eb3e80ace2413b03df3cd69801 (diff)
downloadllvm-ad5a0ce40b8c4897ba3e12c3ec645bd38b95adff.tar.gz
llvm-ad5a0ce40b8c4897ba3e12c3ec645bd38b95adff.tar.bz2
llvm-ad5a0ce40b8c4897ba3e12c3ec645bd38b95adff.tar.xz
escape special char when handling CXX_FOR_OCAMLOPT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163098 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 9ddfabfb9a..2106bfa845 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -131,7 +131,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 \\\\\"$(subst =,"\\=",$(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