aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2009-08-10 19:45:05 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2009-08-10 19:45:05 +0000
commit1afd3e67d15a430d7b574c02fe76766ac9cc8367 (patch)
treebd8baddeae4cdd3d1e6796deed0c706ac7b61f5f /test/Makefile
parent86c9d6b33b16d90df9cc651a2590dee3d8918522 (diff)
downloadexternal_llvm-1afd3e67d15a430d7b574c02fe76766ac9cc8367.zip
external_llvm-1afd3e67d15a430d7b574c02fe76766ac9cc8367.tar.gz
external_llvm-1afd3e67d15a430d7b574c02fe76766ac9cc8367.tar.bz2
Fix ocaml "make check" tests, that wasn't finding the proper c++ compiler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78592 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 1194cd0..fd45db5 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -106,7 +106,7 @@ endif
ifneq ($(OCAMLC),)
CC_FOR_OCAMLC := $(shell $(OCAMLC) -config | grep native_c_compiler | sed -e 's/native_c_compiler: //')
-CXX_FOR_OCAMLC := $(patsubst gcc,g++,$(CC_FOR_OCAMLC))
+CXX_FOR_OCAMLC := $(subst gcc,g++,$(CC_FOR_OCAMLC))
endif
FORCE: