[4/9] strip: Do not try to strip Go binaries

Message ID 20200416192714.25542-4-michael.tremer@ipfire.org
State Accepted
Commit 3a56d70ce79021cafa09ff5c6b00f26cc0299e9b
Headers
Series [1/9] Config: Set some Go environment variables |

Commit Message

Michael Tremer April 16, 2020, 7:27 p.m. UTC
  There is loads of stuff for PowerPC and other architectures
in the directory which we cannot strip. Therefore we ignore
the whole directory.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 lfs/strip | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/lfs/strip b/lfs/strip
index 08aaee7c4..63e90fed2 100644
--- a/lfs/strip
+++ b/lfs/strip
@@ -61,4 +61,5 @@  $(TARGET) :
 	# /usr/sbin/vdr.
 	STRIP=$(STRIP) $(SHELL) $(DIR_SRC)/src/stripper $(ROOT) \
 		--exclude=/usr/src --exclude=$(TOOLS_DIR) \
-		--exclude=/usr/sbin/vdr --exclude=/usr/lib/vdr
+		--exclude=/usr/sbin/vdr --exclude=/usr/lib/vdr \
+		--exclude=/usr/lib/go