From 3a56d70ce79021cafa09ff5c6b00f26cc0299e9b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 16 Apr 2020 19:27:09 +0000 Subject: [PATCH] strip: Do not try to strip Go binaries 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 Signed-off-by: Arne Fitzenreiter --- lfs/strip | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lfs/strip b/lfs/strip index 08aaee7c4b..63e90fed25 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 -- 2.39.5