diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-03-04 20:16:42 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-03-04 20:16:42 +0000 |
commit | cc16cd656a93e9b05332c5d0b0df518cdf78af23 (patch) | |
tree | 860ddf214b5737fe18803b72d9f4ef66914da2ce | |
parent | ff80500aa21a0792f0fc62fe37109a82eeb9e619 (diff) | |
download | buildroot-novena-cc16cd656a93e9b05332c5d0b0df518cdf78af23.tar.gz buildroot-novena-cc16cd656a93e9b05332c5d0b0df518cdf78af23.zip |
Make things compile once again
-rw-r--r-- | make/gcc_target.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make/gcc_target.mk b/make/gcc_target.mk index 1fc0977bc..6add3a992 100644 --- a/make/gcc_target.mk +++ b/make/gcc_target.mk @@ -89,7 +89,8 @@ $(BINUTILS_DIR2)/.configured: $(BINUTILS_DIR2_DEPENDS) mkdir -p $(TARGET_DIR)/usr/include mkdir -p $(TARGET_DIR)/usr/$(GNU_TARGET_NAME)/ (cd $(TARGET_DIR)/usr/$(GNU_TARGET_NAME); ln -fs ../include sys-include) - (cd $(BINUTILS_DIR2); $(TARGET_CONFIGURE_OPTS) \ + (cd $(BINUTILS_DIR2); PATH=$(TARGET_PATH) \ + CC=$(HOSTCC) \ AR_FOR_TARGET=$(TARGET_CROSS)ar \ AS_FOR_TARGET=$(TARGET_CROSS)as \ LD_FOR_TARGET=$(TARGET_CROSS)ld \ @@ -101,7 +102,6 @@ $(BINUTILS_DIR2)/.configured: $(BINUTILS_DIR2_DEPENDS) $(BINUTILS_DIR)/configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ @@ -286,7 +286,8 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.gcc_build_hacks mkdir -p $(TARGET_DIR)/usr/$(GNU_TARGET_NAME) (cd $(TARGET_DIR)/usr/$(GNU_TARGET_NAME); ln -fs ../include) (cd $(TARGET_DIR)/usr/$(GNU_TARGET_NAME); ln -fs ../include sys-include) - (cd $(GCC_BUILD_DIR3); $(TARGET_CONFIGURE_OPTS) \ + (cd $(GCC_BUILD_DIR3); PATH=$(TARGET_PATH) \ + CC=$(HOSTCC) \ AR_FOR_TARGET=$(TARGET_CROSS)ar \ AS_FOR_TARGET=$(TARGET_CROSS)as \ LD_FOR_TARGET=$(TARGET_CROSS)ld \ @@ -298,7 +299,6 @@ $(GCC_BUILD_DIR3)/.configured: $(GCC_BUILD_DIR3)/.gcc_build_hacks $(GCC_DIR)/configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ |