summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-12 15:18:12 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-12 15:18:12 +0000
commitcdd7d014eaf7aa28edbb1bbd543fa503f6493409 (patch)
treedce6404e85baca1e1ab17db1cf1b9329259d294e
parentb44763579210d914a27b21f5adac4178db92c2e5 (diff)
Make sure we find ranlib and ar
-rw-r--r--make/uclibc_toolchain.mk4
-rw-r--r--make/uclibc_toolchain_2_95.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/make/uclibc_toolchain.mk b/make/uclibc_toolchain.mk
index eddfe867f..cfa004fb9 100644
--- a/make/uclibc_toolchain.mk
+++ b/make/uclibc_toolchain.mk
@@ -242,8 +242,8 @@ $(GCC_DIR)/.gcc_build_hacks: $(GCC_DIR)/.patched
# # the step or libgcc will not build...
$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.gcc_build_hacks
mkdir -p $(GCC_BUILD_DIR1)
- (cd $(GCC_BUILD_DIR1); AR=$(ARCH)-uclibc-ar \
- RANLIB=$(ARCH)-uclibc-ranlib CC=$(HOSTCC) \
+ (cd $(GCC_BUILD_DIR1); AR=$(TARGET_CROSS)ar \
+ RANLIB=$(TARGET_CROSS)ranlib CC=$(HOSTCC) \
$(GCC_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--prefix=$(STAGING_DIR) \
diff --git a/make/uclibc_toolchain_2_95.mk b/make/uclibc_toolchain_2_95.mk
index 7a47688fa..90b0b4d7a 100644
--- a/make/uclibc_toolchain_2_95.mk
+++ b/make/uclibc_toolchain_2_95.mk
@@ -260,8 +260,8 @@ $(GCC_DIR)/.gcc_build_hacks: $(GCC_DIR)/.patched
# # the step or libgcc will not build...
$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.gcc_build_hacks
mkdir -p $(GCC_BUILD_DIR1)
- (cd $(GCC_BUILD_DIR1); AR=$(ARCH)-uclibc-ar \
- RANLIB=$(ARCH)-uclibc-ranlib CC=$(HOSTCC) \
+ (cd $(GCC_BUILD_DIR1); AR=$(TARGET_CROSS)ar \
+ RANLIB=$(TARGET_CROSS)ranlib CC=$(HOSTCC) \
$(GCC_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--prefix=$(STAGING_DIR) \