libtar: disable strip when non-x86 arch compile

This commit is contained in:
ElonH 2020-03-29 20:44:46 +08:00
parent f616ec9119
commit dd3fdcfe1c
No known key found for this signature in database
GPG Key ID: 5BCDD7F78A258D4C
2 changed files with 13 additions and 1 deletions

View File

@ -62,7 +62,6 @@ define Build/InstallDev
endef
define Package/libtar/install
$(Build/Install/Default)
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libtar $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/lib

View File

@ -0,0 +1,13 @@
diff --git a/libtar/Makefile.in b/libtar/Makefile.in
index 7c6f1bc..80bb8d9 100644
--- a/libtar/Makefile.in
+++ b/libtar/Makefile.in
@@ -20,7 +20,7 @@ SHELL = @SHELL@
### Installation programs and flags
INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
LN_S = @LN_S@
MKDIR = @MKDIR@