From cdd7d014eaf7aa28edbb1bbd543fa503f6493409 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 12 Feb 2003 15:18:12 +0000 Subject: [PATCH] Make sure we find ranlib and ar --- make/uclibc_toolchain.mk | 4 ++-- make/uclibc_toolchain_2_95.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/make/uclibc_toolchain.mk b/make/uclibc_toolchain.mk index eddfe867f9..cfa004fb9a 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 7a47688fa7..90b0b4d7a2 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) \