]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
strip: Do not try to strip Go binaries
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 16 Apr 2020 19:27:09 +0000 (19:27 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 20 Apr 2020 15:25:02 +0000 (15:25 +0000)
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>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/strip

index 08aaee7c4b10390fac938206491bcb13cd1809f4..63e90fed2534a64f5264b54dd9c5a3352068f3d7 100644 (file)
--- 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