summaryrefslogtreecommitdiffstats
path: root/make/gcc_target.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-15 10:23:19 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-15 10:23:19 +0000
commitbefb097e10cb7627b385ad95752f7cc04bea1af6 (patch)
tree3685724f67fb0785e653e9ee904be25f54c90494 /make/gcc_target.mk
parenta50c4277def16def5713dfdfc7a08238ffe61c06 (diff)
downloadbuildroot-novena-befb097e10cb7627b385ad95752f7cc04bea1af6.tar.gz
buildroot-novena-befb097e10cb7627b385ad95752f7cc04bea1af6.zip
Fix a few problems noticed by Peter S. Mazinger
Diffstat (limited to 'make/gcc_target.mk')
-rw-r--r--make/gcc_target.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/gcc_target.mk b/make/gcc_target.mk
index 6c1236b58..98592e0bc 100644
--- a/make/gcc_target.mk
+++ b/make/gcc_target.mk
@@ -285,11 +285,12 @@ $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
-mv $(TARGET_DIR)/lib/*.a $(TARGET_DIR)/usr/lib/
-mv $(TARGET_DIR)/lib/*.la $(TARGET_DIR)/usr/lib/
rm -f $(TARGET_DIR)/lib/libstdc++.so
- (cd $(TARGET_DIR)/usr/lib; ln -fs /lib/libstdc++.a libstdc++.so)
+ (cd $(TARGET_DIR)/usr/lib; ln -fs /lib//lib/libstdc++.so.5* libstdc++.so)
-$(STRIP) $(TARGET_DIR)/bin/*
-$(STRIP) $(TARGET_DIR)/usr/bin/*
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
+ rm -f $(TARGET_DIR)/usr/lib/*.la*
# gcc "fixincludes" step is totally broken and takes unwanted
# stuff from the host system. Fix that here.
rm -rf $(TARGET_DIR)/usr/lib/gcc-lib/$(GNU_TARGET_NAME)/*/include/*