toolchain/gcc: enable zstd support
authorAndre Heider <a.heider@gmail.com>
Sun, 5 Feb 2023 22:21:46 +0000 (23:21 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 17 Mar 2023 01:08:25 +0000 (02:08 +0100)
commitacc8c2d829fb5e0e0b2495d720e058f91ea164b0
treea7f615f8fa9beb8550c141c817a9bb934f40c8f2
parentc44c1e1a1f18394cb855c389795ba10822e29d46
toolchain/gcc: enable zstd support

LTO object files will now be compressed using zstd.

Compressing debug sections with zstd will have to wait for GCC 13,
which adds support for -gz=zstd.

NOTE: wiping the ccache is strongly recommended, not doing so might
yield build error later on:
"lto1: internal compiler error: original not compressed with zstd"

Signed-off-by: Andre Heider <a.heider@gmail.com>
toolchain/gcc/common.mk