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 ca4a689623dec25a5a8aa6c789ee52091dda01fb..958f8ec1f232948e00f202d1b9c7f18ad91df436 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