Changeset 15599


Ignore:
Timestamp:
2009-05-04T20:41:08+02:00 (9 years ago)
Author:
nbd
Message:

fix the uclibc rebuild issue which leads to unresolved symbols in libnl (and possibly other libraries)

Location:
trunk/toolchain
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/gcc/Makefile

    r15598 r15599  
    177177        ( cd $(TOOLCHAIN_DIR)/usr/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(PKG_VERSION) ; \ 
    178178                [ -e libgcc_eh.a ] || ln -sf libgcc.a libgcc_eh.a ; \ 
     179                cp libgcc.a libgcc_initial.a; \ 
    179180        ) 
    180181endef 
  • trunk/toolchain/uClibc/Makefile

    r15368 r15599  
    8989endef 
    9090 
    91 UCLIBC_MAKE := PATH=$(TARGET_PATH) $(MAKE) -C $(HOST_BUILD_DIR) \ 
     91UCLIBC_MAKE = PATH=$(TARGET_PATH) $(MAKE) -C $(HOST_BUILD_DIR) \ 
    9292        $(TARGET_CONFIGURE_OPTS) \ 
    9393        DEVEL_PREFIX=/usr/ \ 
     
    9595        HOSTCC="$(HOSTCC)" \ 
    9696        CPU_CFLAGS="$(TARGET_CFLAGS)" \ 
     97        LIBGCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" \ 
    9798        DOSTRIP="" 
    9899 
Note: See TracChangeset for help on using the changeset viewer.