]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gcc: depend on zstd-native
authorJeremy Puhlman <jpuhlman@mvista.com>
Wed, 1 Jun 2022 23:02:15 +0000 (19:02 -0400)
committerSteve Sakoman <steve@sakoman.com>
Mon, 6 Jun 2022 15:32:51 +0000 (05:32 -1000)
Sharing sstate cache binaries between two systems, one with libzstd installed
and the other without, leads to various gcc components being linked against
the system libzstd and failing to run on the system with out it installed.

Make zstd-native from our system available.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b0a6f03137f24b211c8881cebf65732e550a942)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/gcc/gcc-11.3.inc

index b1ef9d25af95a19948241c0f341c3a8edce77ae7..acbb43a25fb186ea7ba24c64a1466a750b939598 100644 (file)
@@ -11,7 +11,7 @@ BINV = "11.3.0"
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
 
 DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
-NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native 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"