summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-03-05 23:01:28 +0000
committerEric Andersen <andersen@codepoet.org>2003-03-05 23:01:28 +0000
commitba23073bdec6b7fb203d24b87d0598c3e4041764 (patch)
treeddc97472da31ea681f243f8a775b00d81c002b37
parentdb5a6bf46e49d937aecbafae0fa78703150a6ae5 (diff)
Oops. I was building for the host arch, not the target. duh.
-rw-r--r--make/gcc_target.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/make/gcc_target.mk b/make/gcc_target.mk
index 6add3a992..3c286e2ee 100644
--- a/make/gcc_target.mk
+++ b/make/gcc_target.mk
@@ -89,8 +89,7 @@ $(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); PATH=$(TARGET_PATH) \
- CC=$(HOSTCC) \
+ (cd $(BINUTILS_DIR2); $(TARGET_CONFIGURE_OPTS) \
AR_FOR_TARGET=$(TARGET_CROSS)ar \
AS_FOR_TARGET=$(TARGET_CROSS)as \
LD_FOR_TARGET=$(TARGET_CROSS)ld \
@@ -286,8 +285,7 @@ $(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); PATH=$(TARGET_PATH) \
- CC=$(HOSTCC) \
+ (cd $(GCC_BUILD_DIR3); $(TARGET_CONFIGURE_OPTS) \
AR_FOR_TARGET=$(TARGET_CROSS)ar \
AS_FOR_TARGET=$(TARGET_CROSS)as \
LD_FOR_TARGET=$(TARGET_CROSS)ld \