gcc: add zstd dependency

gcc 10 adds zstd compression for its LTO data, that's why zstd library should be build before
This commit is contained in:
Peter 2020-07-07 11:48:01 +02:00
parent bbbb72699e
commit e8a0318e6e
2 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,7 @@ PKG_SHA256="98e91c7c6bf162bf90e4e70fdbc41a8188b9fa8de5ad840c401198014406ce9e"
PKG_LICENSE="BSD/GPLv2"
PKG_SITE="http://www.zstd.net"
PKG_URL="https://github.com/facebook/zstd/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="toolchain:host"
PKG_DEPENDS_HOST="ccache:host meson:host ninja:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A fast real-time compression algorithm."
PKG_TOOLCHAIN="meson"

View File

@ -8,9 +8,9 @@ PKG_SHA256="b6898a23844b656f1b68691c5c012036c2e694ac4b53a8918d4712ad876e7ea2"
PKG_LICENSE="GPL"
PKG_SITE="http://gcc.gnu.org/"
PKG_URL="http://ftpmirror.gnu.org/gcc/$PKG_NAME-$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_BOOTSTRAP="ccache:host autoconf:host binutils:host gmp:host mpfr:host mpc:host"
PKG_DEPENDS_BOOTSTRAP="ccache:host autoconf:host binutils:host gmp:host mpfr:host mpc:host zstd:host"
PKG_DEPENDS_TARGET="toolchain"
PKG_DEPENDS_HOST="ccache:host autoconf:host binutils:host gmp:host mpfr:host mpc:host glibc"
PKG_DEPENDS_HOST="ccache:host autoconf:host binutils:host gmp:host mpfr:host mpc:host zstd:host glibc"
PKG_DEPENDS_INIT="toolchain"
PKG_LONGDESC="This package contains the GNU Compiler Collection."
@ -19,6 +19,7 @@ GCC_COMMON_CONFIGURE_OPTS="--target=$TARGET_NAME \
--with-gmp=$TOOLCHAIN \
--with-mpfr=$TOOLCHAIN \
--with-mpc=$TOOLCHAIN \
--with-zstd=$TOOLCHAIN \
--with-gnu-as \
--with-gnu-ld \
--enable-plugin \