base-files: do not use the relinked libgcc, fixes c++ exception handling issues ...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 2 Jul 2011 06:50:15 +0000 (06:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 2 Jul 2011 06:50:15 +0000 (06:50 +0000)
SVN-Revision: 27347

package/base-files/Makefile

index ca4a689..958f8ec 100644 (file)
@@ -489,7 +489,7 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
 
   define Package/libgcc/install
        $(INSTALL_DIR) $(1)/lib
-       $(CP) $(PKG_BUILD_DIR)/libgcc_s.so.* $(1)/lib/
+       $(CP) $(TOOLCHAIN_DIR)/lib/libgcc_s.so.* $(1)/lib/
   endef
 
   define Package/libgfortran/install