summaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-09-07 09:24:13 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-09-07 09:24:13 +0000
commitc37290e5785be9191bbbfc3d91f6820bedc3dd64 (patch)
treec1832ca19dc4d894903b771d07932fad58d3bd47 /test/Makefile
parentbf01582165a9cf8e95a21a284930a82c3fc3bda5 (diff)
downloadexternal_llvm-c37290e5785be9191bbbfc3d91f6820bedc3dd64.zip
external_llvm-c37290e5785be9191bbbfc3d91f6820bedc3dd64.tar.gz
external_llvm-c37290e5785be9191bbbfc3d91f6820bedc3dd64.tar.bz2
yet another attempt at fixing @OCAMLOPT@ for sed.
Patch by Rick Foos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163380 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 2106bfa..ae7a674 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 \\\\\"$(subst =,"\\=",$(CXX_FOR_OCAMLOPT))\\\\\" -I $(LibDir)/ocaml=g >> lit.tmp
+ @$(ECHOPATH) s=@OCAMLOPT@=$(OCAMLOPT) -cc $(subst *,'\\\"',*$(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