cross-powerpc64-linux-musl: update for gcc-9.1.0

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2019-05-14 18:59:42 +02:00
parent 857efc7a36
commit c780396854
2 changed files with 6 additions and 4 deletions

View file

@ -0,0 +1 @@
../../gcc/patches/non-nullness.patch

View file

@ -1,6 +1,6 @@
# Template file for 'cross-powerpc64-linux-musl' # Template file for 'cross-powerpc64-linux-musl'
_binutils_version=2.32 _binutils_version=2.32
_gcc_version=8.3.0 _gcc_version=9.1.0
_musl_version=1.1.22 _musl_version=1.1.22
_linux_version=4.19 _linux_version=4.19
@ -20,7 +20,7 @@ distfiles="
http://www.musl-libc.org/releases/musl-${_musl_version}.tar.gz http://www.musl-libc.org/releases/musl-${_musl_version}.tar.gz
${KERNEL_SITE}/kernel/v4.x/linux-${_linux_version}.tar.xz" ${KERNEL_SITE}/kernel/v4.x/linux-${_linux_version}.tar.xz"
checksum="0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04 checksum="0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04
64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c 79a66834e96a6050d8fe78db2c3b32fb285b230b855d0a66288235bc04b327a0
8b0941a48d2f980fd7036cfbd24aa1d414f03d9a0652ecbd5ec5c7ff1bee29e3 8b0941a48d2f980fd7036cfbd24aa1d414f03d9a0652ecbd5ec5c7ff1bee29e3
0c68f5655528aed4f99dae71a5b259edc93239fa899e2df79c055275c21749a1" 0c68f5655528aed4f99dae71a5b259edc93239fa899e2df79c055275c21749a1"
@ -29,7 +29,7 @@ nocross=yes
nopie=yes nopie=yes
nodebug=yes nodebug=yes
create_wrksrc=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" makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel isl15-devel"
nostrip_files="libcaf_single.a libgcc.a libgcov.a libgcc_eh.a nostrip_files="libcaf_single.a libgcc.a libgcov.a libgcc_eh.a
libgnarl_pic.a libgnarl.a libgnat_pic.a libgnat.a" libgnarl_pic.a libgnarl.a libgnat_pic.a libgnat.a"
@ -81,10 +81,11 @@ _gcc_bootstrap() {
cd ${wrksrc}/gcc-${_gcc_version} cd ${wrksrc}/gcc-${_gcc_version}
_apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch _apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch
_apply_patch -p0 ${FILESDIR}/musl-ada.patch _apply_patch -p0 ${FILESDIR}/non-nullness.patch
_apply_patch -p0 ${FILESDIR}/0010-ldbl128-config.patch _apply_patch -p0 ${FILESDIR}/0010-ldbl128-config.patch
_apply_patch -p0 ${FILESDIR}/ppc64-pure64.patch _apply_patch -p0 ${FILESDIR}/ppc64-pure64.patch
_apply_patch -p0 ${FILESDIR}/libgcc-musl-ldbl128-config.patch _apply_patch -p0 ${FILESDIR}/libgcc-musl-ldbl128-config.patch
_apply_patch -p0 ${FILESDIR}/musl-ada.patch
_apply_patch -p1 ${FILESDIR}/libgnarl-musl.patch _apply_patch -p1 ${FILESDIR}/libgnarl-musl.patch
sed -i 's/lib64/lib/' gcc/config/rs6000/linux64.h sed -i 's/lib64/lib/' gcc/config/rs6000/linux64.h