Make sure we find ranlib and ar
authorEric Andersen <andersen@codepoet.org>
Wed, 12 Feb 2003 15:18:12 +0000 (15:18 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 12 Feb 2003 15:18:12 +0000 (15:18 -0000)
make/uclibc_toolchain.mk
make/uclibc_toolchain_2_95.mk

index eddfe867f9cc7bc1b97b44e4beb67a12e5c7f370..cfa004fb9a77a38dc1eb5063e91df7002898bb09 100644 (file)
@@ -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) \
index 7a47688fa7248edda89ad790321ccb176756598c..90b0b4d7a2358c9f3218bd8b33005af8e8ae3e96 100644 (file)
@@ -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) \