From: Erick Tryzelaar Date: Mon, 10 Aug 2009 19:45:05 +0000 (+0000) Subject: Fix ocaml "make check" tests, that wasn't finding the proper c++ compiler. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1afd3e67d15a430d7b574c02fe76766ac9cc8367;p=oota-llvm.git 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 --- diff --git a/test/Makefile b/test/Makefile index 1194cd07d51..fd45db537ef 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: