mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
use the correct strip tool for host and target binaries
This commit is contained in:
parent
235a05b0c0
commit
5867ff49d7
@ -442,7 +442,9 @@ $(BUILD_DIR)/.shuffled: $(GCC_BUILD_DIR2)/.fixedup
|
|||||||
touch $(BUILD_DIR)/.shuffled
|
touch $(BUILD_DIR)/.shuffled
|
||||||
|
|
||||||
$(BUILD_DIR)/.stripped: $(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*;
|
-$(STRIP) --strip-unneeded -R .note -R .comment $(STAGING_DIR)/lib/*.so*;
|
||||||
touch $(BUILD_DIR)/.stripped
|
touch $(BUILD_DIR)/.stripped
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user