]> git.ipfire.org Git - ipfire-2.x.git/commit
gcc: Compile without ZSTD
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Feb 2022 12:51:25 +0000 (12:51 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Tue, 22 Feb 2022 19:41:39 +0000 (19:41 +0000)
commit0b6ba4a0ca2e08cd9fc56e99e80d33a6fe88b395
tree5b6472fb18238fd1091029b2806e7de1274ed7c9
parentd79715dbf9de0131e69048e545c9684652d8151a
gcc: Compile without ZSTD

GCC can use ZSTD to compress debugging/LTO information in binary
objects. However, on riscv64, compiling zstd requires libatomic which is
not available at this point.

In order to make the build work, we explicitely disable ZSTD in GCC and
build ZSTD after libatomic is available.

Although ZSTD offers great compression, we won't have any disadvantages
through this change since we do not ship any debugging information and
at this point in time to not use LTO.

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