diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-19 00:15:44 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-19 00:15:44 +0000 |
commit | f72b60f94fb8d2c8f5180d0e1a5e7505db12b96e (patch) | |
tree | f59c1a84ef5ea2b4691bcb4c7d2bb0e0c451c31b | |
parent | 0639d51569aaa4e1b7726e6edab48831374c818c (diff) |
fix gcc build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1499 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | openwrt/toolchain/gcc/gcc-uclibc-3.x.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/toolchain/gcc/gcc-uclibc-3.x.mk b/openwrt/toolchain/gcc/gcc-uclibc-3.x.mk index eb1fbe2ce..4799739d4 100644 --- a/openwrt/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/openwrt/toolchain/gcc/gcc-uclibc-3.x.mk @@ -145,7 +145,10 @@ GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched $(STAGING_DIR)/lib/libc.a mkdir -p $(GCC_BUILD_DIR2) # Important! Required for limits.h to be fixed. + rm -rf $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include ln -sf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include + rm -rf $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib + ln -sf ../lib $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/ (cd $(GCC_BUILD_DIR2); PATH=$(TARGET_PATH) \ $(GCC_DIR)/configure \ --prefix=$(STAGING_DIR) \ |