]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Run strip with tools from the host system
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Jun 2017 09:58:02 +0000 (10:58 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Jun 2017 09:58:02 +0000 (10:58 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/strip
make.sh

index d07ff43ee04ae02b29c116bf8628588061402fa3..237f4d2b3b5a243a007c89b886f6d3a01326a038 100644 (file)
--- a/lfs/strip
+++ b/lfs/strip
@@ -49,6 +49,6 @@ $(TARGET) :
        # Don't strip VDR binaries, because they use a weird plugin system
        # which does not work when unneeded symbols get stripped from
        # /usr/sbin/vdr.
-       STRIP="/tools/bin/strip" $(DIR_SRC)/src/stripper / \
+       $(DIR_SRC)/src/stripper $(ROOT) \
                --exclude=/usr/src --exclude=/tools \
                --exclude=/usr/sbin/vdr --exclude=/usr/lib/vdr
diff --git a/make.sh b/make.sh
index 9c4c6ca089fcd0dae148b692b6f4329d945a1228..a0f2dffc28ead574ca2ae5be08dcb11c6782e8c8 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -895,7 +895,7 @@ buildinstaller() {
   export LOGFILE
   lfsmake2 memtest
   lfsmake2 installer
-  lfsmake2 strip
+  lfsmake1 strip
 }
 
 buildpackages() {