aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-29 09:51:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-29 09:51:34 +0000
commit38a2cc99823108d782c47ba31baf295e2335fc3f (patch)
tree8dc3ab8d926f95bf4e20cfa76dc4165c7b7afcb3 /toolchain
parent59414a4e0e35a9bcd50101daf02b83ddceab6596 (diff)
downloadupstream-38a2cc99823108d782c47ba31baf295e2335fc3f.tar.gz
upstream-38a2cc99823108d782c47ba31baf295e2335fc3f.tar.bz2
upstream-38a2cc99823108d782c47ba31baf295e2335fc3f.zip
make gcc compile install libgcc_s by default, remove package/libgcc/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@755 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/gcc-uclibc-3.x.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index e719b87140..c7f9495034 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -203,6 +203,9 @@ ifeq ($(findstring 3.3.,$(GCC_VERSION)),3.3.)
cp ./$(GCC_VERSION)/specs-$(ARCH)-soft-float $(STAGING_DIR)/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
endif
endif
+ # These are in /lib, so...
+ cp -a $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+ $(STRIP) $(TARGET_DIR)/lib/libgcc_s.so.1
gcc: gcc_initial $(LIBFLOAT_TARGET) \
gcc-install $(GCC_TARGETS)