summaryrefslogtreecommitdiff
path: root/make/uclibc_toolchain.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/uclibc_toolchain.mk')
-rw-r--r--make/uclibc_toolchain.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/uclibc_toolchain.mk b/make/uclibc_toolchain.mk
index 178b25293..16152f7fa 100644
--- a/make/uclibc_toolchain.mk
+++ b/make/uclibc_toolchain.mk
@@ -378,8 +378,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 \
+ -$(STRIP) $(STAGING_DIR)/bin/*
+ -$(TARGET_CROSS)strip --strip-unneeded \
-R .note -R .comment $(STAGING_DIR)/lib/*.so*;
touch $(BUILD_DIR)/.stripped