allow mklibs.py to optimize libgcc_s.so.1
authorFelix Fietkau <nbd@openwrt.org>
Sat, 29 Aug 2009 03:51:43 +0000 (03:51 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 29 Aug 2009 03:51:43 +0000 (03:51 +0000)
SVN-Revision: 17437

package/base-files/Makefile

index 92257d8011071e13b05c6c488963b00db4023c19..e6cbb216177c1175c9ad63198b198a9efab37c13 100644 (file)
@@ -247,6 +247,7 @@ endef
 
 define Package/libc/install_lib
        $(CP) $(filter-out %/libdl_pic.a,$(wildcard $(TOOLCHAIN_DIR)/usr/lib/lib*.a)) $(1)/lib/
+       $(CP) $(TOOLCHAIN_DIR)/usr/lib/gcc/*/*/libgcc.a $(1)/lib/libgcc_s_pic.a
 endef
 
 define Package/libpthread/install