gcc: depend on zstd

Add zstd LTO support for target and nativesdk compiler.

This also brings gcc into sync with gcc-cross.

% x86_64-oe-linux-gcc -v
[...]
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (GCC)
% x86_64-oesdk-linux-gcc -v
[...]
Supported LTO compression algorithms: zlib
gcc version 12.2.0 (GCC)

(From OE-Core rev: fdabb7a54bb994d3680c410c8a46eed30e23ec47)

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Sean Nyekjaer
2023-10-02 13:35:06 +02:00
committed by Steve Sakoman
parent 4c5f577740
commit fd6757be09

View File

@@ -10,7 +10,7 @@ BINV = "12.3.0"
FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
DEPENDS =+ "mpfr gmp libmpc zlib zstd flex-native"
NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native zstd-native"
LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"