Make sure we find ranlib and ar
This commit is contained in:
parent
b447635792
commit
cdd7d014ea
@ -242,8 +242,8 @@ $(GCC_DIR)/.gcc_build_hacks: $(GCC_DIR)/.patched
|
|||||||
# # the step or libgcc will not build...
|
# # the step or libgcc will not build...
|
||||||
$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.gcc_build_hacks
|
$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.gcc_build_hacks
|
||||||
mkdir -p $(GCC_BUILD_DIR1)
|
mkdir -p $(GCC_BUILD_DIR1)
|
||||||
(cd $(GCC_BUILD_DIR1); AR=$(ARCH)-uclibc-ar \
|
(cd $(GCC_BUILD_DIR1); AR=$(TARGET_CROSS)ar \
|
||||||
RANLIB=$(ARCH)-uclibc-ranlib CC=$(HOSTCC) \
|
RANLIB=$(TARGET_CROSS)ranlib CC=$(HOSTCC) \
|
||||||
$(GCC_DIR)/configure \
|
$(GCC_DIR)/configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--prefix=$(STAGING_DIR) \
|
--prefix=$(STAGING_DIR) \
|
||||||
|
@ -260,8 +260,8 @@ $(GCC_DIR)/.gcc_build_hacks: $(GCC_DIR)/.patched
|
|||||||
# # the step or libgcc will not build...
|
# # the step or libgcc will not build...
|
||||||
$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.gcc_build_hacks
|
$(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.gcc_build_hacks
|
||||||
mkdir -p $(GCC_BUILD_DIR1)
|
mkdir -p $(GCC_BUILD_DIR1)
|
||||||
(cd $(GCC_BUILD_DIR1); AR=$(ARCH)-uclibc-ar \
|
(cd $(GCC_BUILD_DIR1); AR=$(TARGET_CROSS)ar \
|
||||||
RANLIB=$(ARCH)-uclibc-ranlib CC=$(HOSTCC) \
|
RANLIB=$(TARGET_CROSS)ranlib CC=$(HOSTCC) \
|
||||||
$(GCC_DIR)/configure \
|
$(GCC_DIR)/configure \
|
||||||
--target=$(GNU_TARGET_NAME) \
|
--target=$(GNU_TARGET_NAME) \
|
||||||
--prefix=$(STAGING_DIR) \
|
--prefix=$(STAGING_DIR) \
|
||||||
|
Loading…
Reference in New Issue
Block a user