From bc52ad792093a11f0d2525e1dbff1800b5e2e7dc Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 24 Dec 2004 14:47:34 +0000 Subject: [PATCH] Make sure llvm-g++ gets the right path for the llvm tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19138 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.rules b/Makefile.rules index 280f1400963..64aa0a02b21 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -318,7 +318,8 @@ BCCompile.C = $(LLVMGCCWITHPATH) $(CPP.Flags) $(CompileCommonOpts) \ $(C.Flags) -c Compile.CXX = $(CXX) $(CPP.Flags) $(CompileCommonOpts) $(CXX.Flags) -c LTCompile.CXX = $(LIBTOOL) $(LibTool.Flags) --mode=compile $(Compile.CXX) -BCCompile.CXX = $(LLVMGXX) $(CPP.Flags) $(CompileCommonOpts) $(CXX.Flags) -c +BCCompile.CXX = $(LLVMGXXWITHPATH) $(CPP.Flags) $(CompileCommonOpts) \ + $(CXX.Flags) -c Link = $(LIBTOOL) $(LibTool.Flags) --mode=link $(CXX) $(CPP.Flags) \ $(CompileCommonOpts) $(LD.Flags) $(Strip) Relink = $(LIBTOOL) $(LibTool.Flags) --mode=link $(CXX) $(CPP.Flags) \