Fix ocaml "make check" tests, that wasn't finding the proper c++ compiler.
authorErick Tryzelaar <idadesub@users.sourceforge.net>
Mon, 10 Aug 2009 19:45:05 +0000 (19:45 +0000)
committerErick Tryzelaar <idadesub@users.sourceforge.net>
Mon, 10 Aug 2009 19:45:05 +0000 (19:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78592 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index 1194cd0..fd45db5 100644 (file)
@@ -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: