summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index ee1c5c7daae..46821e28003 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
#--------------------------------------------------------------------------