diff options
Diffstat (limited to 'make/gcc_target.mk')
-rw-r--r-- | make/gcc_target.mk | 3 |
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/* |