]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
make.sh: Build zlib + zstd before binutils
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 19 Apr 2021 10:25:14 +0000 (10:25 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 20 May 2021 10:34:41 +0000 (10:34 +0000)
binutils is using to compress LTO? debugging data. Since binutils linked
against zstd from stage2 is expecting data being compressed, we need to
have zstd available at the toolchain stage.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index aba63007dcdd05ef8b4583e513933aa550c25911..e71ad56e138e51f908c5b6e05982181d2aa5a8d1 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1050,10 +1050,10 @@ buildtoolchain() {
        lfsmake1 glibc
        lfsmake1 libxcrypt
        lfsmake1 gcc                    PASS=L
-       lfsmake1 binutils                       PASS=2
-       lfsmake1 gcc                    PASS=2
        lfsmake1 zlib
        lfsmake1 zstd
+       lfsmake1 binutils                       PASS=2
+       lfsmake1 gcc                    PASS=2
        lfsmake1 ccache
        lfsmake1 tcl
        lfsmake1 expect