]> 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>
Mon, 19 Apr 2021 10:25:14 +0000 (10:25 +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 3658157b422f774cdbc83cef170037210927a0a9..e0fb32685d8c26c8d9c6e899ba1f8f4dd92509d5 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1054,10 +1054,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