From 5867ff49d76c55f5be2d7def2071ad99c98f5012 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 22 Jan 2003 11:11:35 +0000 Subject: [PATCH] use the correct strip tool for host and target binaries --- make/uclibc_toolchain.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/uclibc_toolchain.mk b/make/uclibc_toolchain.mk index 0b2c597beb..ee65c7ff46 100644 --- a/make/uclibc_toolchain.mk +++ b/make/uclibc_toolchain.mk @@ -442,7 +442,9 @@ $(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/* + # Strip the host binaries + -strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/* + # Strip the target shared libs -$(STRIP) --strip-unneeded -R .note -R .comment $(STAGING_DIR)/lib/*.so*; touch $(BUILD_DIR)/.stripped -- 2.30.2