diff options
-rw-r--r-- | Makefile.common | 4 | ||||
-rw-r--r-- | Makefile.rules | 4 |
2 files changed, 4 insertions, 4 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 #-------------------------------------------------------------------------- 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 #-------------------------------------------------------------------------- |