summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-15 15:20:52 +0000
committerChris Lattner <sabre@nondot.org>2003-08-15 15:20:52 +0000
commit9a86a0171f681f86bf1128239b4e07307de8825c (patch)
tree667649015c14f98f0e703131fc3c5d05d1790537 /Makefile.common
parent960ff04a09407ba6e4bd5ccee880990b8fc41686 (diff)
Add llvm tools to path of LLVMGCC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index ee1c5c7daae..46821e28003 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -313,9 +313,9 @@ TBLGEN := $(LLVMTOOLCURRENT)/tblgen
#--------------------------------------------------------------------------
# The LLVM GCC front-end in C and C++ flavors
#
-LLVMGCC := $(LLVMGCCDIR)/bin/gcc
+LLVMGCC := PATH=$(LLVMTOOLCURRENT):$(PATH) $(LLVMGCCDIR)/bin/gcc
LCC1 := $(LLVMGCCDIR)/lib/gcc-lib/$(LLVMGCCARCH)/cc1
-LLVMGXX := $(LLVMGCCDIR)/bin/g++
+LLVMGXX := PATH=$(LLVMTOOLCURRENT):$(PATH) $(LLVMGCCDIR)/bin/g++
LCC1XX := $(LLVMGCCDIR)/lib/gcc-lib/$(LLVMGCCARCH)/cc1plus
#--------------------------------------------------------------------------