diff --git a/srcpkgs/cross-x86_64-linux-musl/files/non-nullness.patch b/srcpkgs/cross-x86_64-linux-musl/files/non-nullness.patch new file mode 120000 index 0000000000..c8b653748f --- /dev/null +++ b/srcpkgs/cross-x86_64-linux-musl/files/non-nullness.patch @@ -0,0 +1 @@ +../../gcc/patches/non-nullness.patch \ No newline at end of file diff --git a/srcpkgs/cross-x86_64-linux-musl/template b/srcpkgs/cross-x86_64-linux-musl/template index 4489c5727b..db5343cbaf 100644 --- a/srcpkgs/cross-x86_64-linux-musl/template +++ b/srcpkgs/cross-x86_64-linux-musl/template @@ -1,7 +1,7 @@ # Template file for 'cross-x86_64-linux-musl' # _binutils_version=2.32 -_gcc_version=8.3.0 +_gcc_version=9.1.0 _musl_version=1.1.22 _linux_version=4.19 @@ -9,8 +9,8 @@ _triplet=x86_64-linux-musl _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} -version=0.30 -revision=2 +version=0.31 +revision=1 archs="i686* x86_64 ppc64le" short_desc="Cross toolchain for x86_64 with musl" maintainer="Juan RP " @@ -22,7 +22,7 @@ distfiles=" http://www.musl-libc.org/releases/musl-${_musl_version}.tar.gz ${KERNEL_SITE}/kernel/v4.x/linux-${_linux_version}.tar.xz" checksum="0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04 - 64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c + 79a66834e96a6050d8fe78db2c3b32fb285b230b855d0a66288235bc04b327a0 8b0941a48d2f980fd7036cfbd24aa1d414f03d9a0652ecbd5ec5c7ff1bee29e3 0c68f5655528aed4f99dae71a5b259edc93239fa899e2df79c055275c21749a1" @@ -31,7 +31,7 @@ nocross=yes nopie=yes nodebug=yes create_wrksrc=yes -hostmakedepends="perl flex gcc-ada libada-devel" +hostmakedepends="flex perl python3" makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel isl15-devel" nostrip_files="libcaf_single.a libgcc.a libgcov.a libgcc_eh.a libgnarl_pic.a libgnarl.a libgnat_pic.a libgnat.a" @@ -83,6 +83,7 @@ _gcc_bootstrap() { cd ${wrksrc}/gcc-${_gcc_version} _apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch + _apply_patch -p0 ${FILESDIR}/non-nullness.patch _apply_patch -p0 ${FILESDIR}/musl-ada.patch _apply_patch -p1 ${FILESDIR}/libgnarl-musl.patch