mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-24 23:53:02 +00:00
fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)
SVN-Revision: 15599
This commit is contained in:
parent
010c9c48e0
commit
141925202e
@ -176,6 +176,7 @@ define Stage1/Install
|
|||||||
# XXX: glibc insists on linking against libgcc_eh
|
# XXX: glibc insists on linking against libgcc_eh
|
||||||
( cd $(TOOLCHAIN_DIR)/usr/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION) ; \
|
( cd $(TOOLCHAIN_DIR)/usr/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION) ; \
|
||||||
[ -e libgcc_eh.a ] || ln -sf libgcc.a libgcc_eh.a ; \
|
[ -e libgcc_eh.a ] || ln -sf libgcc.a libgcc_eh.a ; \
|
||||||
|
cp libgcc.a libgcc_initial.a; \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -88,12 +88,13 @@ endef
|
|||||||
define Host/Configure
|
define Host/Configure
|
||||||
endef
|
endef
|
||||||
|
|
||||||
UCLIBC_MAKE := PATH=$(TARGET_PATH) $(MAKE) -C $(HOST_BUILD_DIR) \
|
UCLIBC_MAKE = PATH=$(TARGET_PATH) $(MAKE) -C $(HOST_BUILD_DIR) \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
DEVEL_PREFIX=/usr/ \
|
DEVEL_PREFIX=/usr/ \
|
||||||
RUNTIME_PREFIX=/ \
|
RUNTIME_PREFIX=/ \
|
||||||
HOSTCC="$(HOSTCC)" \
|
HOSTCC="$(HOSTCC)" \
|
||||||
CPU_CFLAGS="$(TARGET_CFLAGS)" \
|
CPU_CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
LIBGCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" \
|
||||||
DOSTRIP=""
|
DOSTRIP=""
|
||||||
|
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
|
Loading…
Reference in New Issue
Block a user