diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-05-04 18:41:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-05-04 18:41:08 +0000 |
commit | 141925202ea2593083635bdb8d74dad0a165bb9d (patch) | |
tree | 1d1e54dce0fe941b55c914f484d62b7db30aca0e /toolchain | |
parent | 010c9c48e0d3a9bf178ca036de9a97a2d62b1704 (diff) | |
download | upstream-141925202ea2593083635bdb8d74dad0a165bb9d.tar.gz upstream-141925202ea2593083635bdb8d74dad0a165bb9d.tar.bz2 upstream-141925202ea2593083635bdb8d74dad0a165bb9d.zip |
fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
SVN-Revision: 15599
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/Makefile | 1 | ||||
-rw-r--r-- | toolchain/uClibc/Makefile | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 346971c658..e9598d8177 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -176,6 +176,7 @@ define Stage1/Install # XXX: glibc insists on linking against libgcc_eh ( cd $(TOOLCHAIN_DIR)/usr/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION) ; \ [ -e libgcc_eh.a ] || ln -sf libgcc.a libgcc_eh.a ; \ + cp libgcc.a libgcc_initial.a; \ ) endef diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index e8407fb9c5..b55796b40f 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -88,12 +88,13 @@ endef define Host/Configure endef -UCLIBC_MAKE := PATH=$(TARGET_PATH) $(MAKE) -C $(HOST_BUILD_DIR) \ +UCLIBC_MAKE = PATH=$(TARGET_PATH) $(MAKE) -C $(HOST_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ DEVEL_PREFIX=/usr/ \ RUNTIME_PREFIX=/ \ HOSTCC="$(HOSTCC)" \ CPU_CFLAGS="$(TARGET_CFLAGS)" \ + LIBGCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" \ DOSTRIP="" define Host/Compile |