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
This commit is contained in:
Erick Tryzelaar 2009-08-10 19:45:05 +00:00
parent 86c9d6b33b
commit 1afd3e67d1

View 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: