aboutsummaryrefslogtreecommitdiffstats
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
parent960ff04a09407ba6e4bd5ccee880990b8fc41686 (diff)
downloadexternal_llvm-9a86a0171f681f86bf1128239b4e07307de8825c.zip
external_llvm-9a86a0171f681f86bf1128239b4e07307de8825c.tar.gz
external_llvm-9a86a0171f681f86bf1128239b4e07307de8825c.tar.bz2
Add llvm tools to path of LLVMGCC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7882 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.common4
-rw-r--r--Makefile.rules4
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common
index ee1c5c7..46821e2 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
#--------------------------------------------------------------------------
diff --git a/Makefile.rules b/Makefile.rules
index ee1c5c7..46821e2 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -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
#--------------------------------------------------------------------------