]> git.ipfire.org Git - 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)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 5 Jul 2021 05:42:39 +0000 (07:42 +0200)
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 32791e311fa8d17e7ff07f713a86da8fa30f755b..088f5a90ce316029058bf3552cbc4c1979dcddd2 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