diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-11-13 09:29:30 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-11-13 09:29:30 +0000 |
commit | 6fef94e4d474fb346aa869518685d5dd871d5c9e (patch) | |
tree | 998cb474a01b713a4db18dac42131bd66880f3d2 /test/Makefile | |
parent | 847729d19ab67ab24d9dc39d055093d965898229 (diff) |
OCAMLFLAGS can contain =, don't use = with sed
Like HOST_LDFLAGS, etc. OCAMLFLAGS can contain =, so use ! as the substitution
separator instead of = (otherwise, sed might error).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221879 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index 126f128a950..38aba65e600 100644 --- a/test/Makefile +++ b/test/Makefile @@ -129,7 +129,7 @@ lit.site.cfg: FORCE @$(ECHOPATH) s=@EXEEXT@=$(EXEEXT)=g >> lit.tmp @$(ECHOPATH) s=@PYTHON_EXECUTABLE@=$(PYTHON)=g >> lit.tmp @$(ECHOPATH) s=@OCAMLFIND@=$(OCAMLFIND)=g >> lit.tmp - @$(ECHOPATH) s=@OCAMLFLAGS@=$(addprefix -cclib ,$(LDFLAGS))=g >> lit.tmp + @$(ECHOPATH) s!@OCAMLFLAGS@!$(addprefix -cclib ,$(LDFLAGS))!g >> lit.tmp @$(ECHOPATH) s=@HAVE_OCAMLOPT@=$(HAVE_OCAMLOPT)=g >> lit.tmp @$(ECHOPATH) s=@HAVE_OCAML_OUNIT@=$(HAVE_OCAML_OUNIT)=g >> lit.tmp @$(ECHOPATH) s=@GO_EXECUTABLE@=$(GO)=g >> lit.tmp |