diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-21 14:20:20 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-21 14:20:20 +0000 |
commit | 3b456adc6475dc4dbb32f06d6f800381b66587ae (patch) | |
tree | 6d2def45c5f1d7d584977c44c2754b878bc914e0 /make/uclibc_toolchain.mk | |
parent | 113b7975761004785dd831e7768c69e3b000d249 (diff) |
Dont remove /lib/libgcc_s.so. Build shared lib support on rev 1 of
gcc. use the correct strip
Diffstat (limited to 'make/uclibc_toolchain.mk')
-rw-r--r-- | make/uclibc_toolchain.mk | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/make/uclibc_toolchain.mk b/make/uclibc_toolchain.mk index 09f06e842..fd653cf36 100644 --- a/make/uclibc_toolchain.mk +++ b/make/uclibc_toolchain.mk @@ -239,7 +239,7 @@ $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.gcc_build_hacks --with-local-prefix=$(STAGING_DIR)/usr/local \ --oldincludedir=$(STAGING_DIR)/include $(MULTILIB) \ --enable-target-optspace --disable-nls --with-gnu-ld \ - --disable-shared --enable-languages=c --disable-__cxa_atexit \ + --enable-shared --enable-languages=c --disable-__cxa_atexit \ $(EXTRA_GCC_CONFIG_OPTIONS) --program-prefix=$(ARCH)-uclibc-); touch $(GCC_BUILD_DIR1)/.configured @@ -421,7 +421,6 @@ $(GCC_BUILD_DIR2)/.fixedup: $(GCC_BUILD_DIR2)/.installed -mv $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-g++ $(STAGING_DIR)/bin/$(ARCH)-uclibc-g++ -mv $(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-c++filt $(STAGING_DIR)/bin/$(ARCH)-uclibc-c++filt rm -f $(STAGING_DIR)/bin/cpp $(STAGING_DIR)/bin/gcov $(STAGING_DIR)/bin/*gccbug - rm -f $(STAGING_DIR)/lib/libgcc_s.so* rm -rf $(STAGING_DIR)/info $(STAGING_DIR)/man $(STAGING_DIR)/share/doc \ $(STAGING_DIR)/share/locale touch $(GCC_BUILD_DIR2)/.fixedup @@ -443,9 +442,8 @@ $(BUILD_DIR)/.shuffled: $(GCC_BUILD_DIR2)/.fixedup touch $(BUILD_DIR)/.shuffled $(BUILD_DIR)/.stripped: $(BUILD_DIR)/.shuffled - -strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/* - -$(STAGING_DIR)/bin/$(ARCH)-uclibc-strip --strip-unneeded \ - -R .note -R .comment $(STAGING_DIR)/lib/*.so*; + -$(STRIP) --strip-all -R .note -R .comment $(STAGING_DIR)/bin/* + -$(STRIP) --strip-unneeded -R .note -R .comment $(STAGING_DIR)/lib/*.so*; touch $(BUILD_DIR)/.stripped gcc_final: uclibc $(BUILD_DIR)/.stripped |