From 8632ba0cf8d0f9c9e6039e8bf127f980d90c40ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 16 Aug 2017 17:33:12 +0200 Subject: [PATCH] cross-mipsel-linux-muslhf: update to 0.24 (gcc-7.2.0) --- .../files/gcc-6.3.0-musl.diff | 1 - .../files/libcpp-source_date_epoch.patch | 1 - srcpkgs/cross-mipsel-linux-muslhf/template | 14 +++++++------- 3 files changed, 7 insertions(+), 9 deletions(-) delete mode 120000 srcpkgs/cross-mipsel-linux-muslhf/files/gcc-6.3.0-musl.diff delete mode 120000 srcpkgs/cross-mipsel-linux-muslhf/files/libcpp-source_date_epoch.patch diff --git a/srcpkgs/cross-mipsel-linux-muslhf/files/gcc-6.3.0-musl.diff b/srcpkgs/cross-mipsel-linux-muslhf/files/gcc-6.3.0-musl.diff deleted file mode 120000 index 5c5bfaadc46..00000000000 --- a/srcpkgs/cross-mipsel-linux-muslhf/files/gcc-6.3.0-musl.diff +++ /dev/null @@ -1 +0,0 @@ -../../gcc/files/gcc-6.3.0-musl.diff \ No newline at end of file diff --git a/srcpkgs/cross-mipsel-linux-muslhf/files/libcpp-source_date_epoch.patch b/srcpkgs/cross-mipsel-linux-muslhf/files/libcpp-source_date_epoch.patch deleted file mode 120000 index e1d4856827d..00000000000 --- a/srcpkgs/cross-mipsel-linux-muslhf/files/libcpp-source_date_epoch.patch +++ /dev/null @@ -1 +0,0 @@ -../../gcc/patches/libcpp-source_date_epoch.patch \ No newline at end of file diff --git a/srcpkgs/cross-mipsel-linux-muslhf/template b/srcpkgs/cross-mipsel-linux-muslhf/template index a04ca5b7050..98f833ee5d2 100644 --- a/srcpkgs/cross-mipsel-linux-muslhf/template +++ b/srcpkgs/cross-mipsel-linux-muslhf/template @@ -1,7 +1,7 @@ # Template build file for 'cross-mipsel-linux-muslhf' # _binutils_version=2.29 -_gcc_version=6.3.0 +_gcc_version=7.2.0 _musl_version=1.1.16 _linux_version=4.9.8 @@ -11,20 +11,20 @@ _archflags="-march=mips32r2 -mhard-float" _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} -version=0.23 -revision=4 +version=0.24 +revision=1 short_desc="Cross toolchain for MIPS32r2 LE hardfloat target (musl)" maintainer="Juan RP " homepage="http://www.voidlinux.eu" license="GPL-3, GPL-2, MIT" distfiles=" ${GNU_SITE}/binutils/binutils-${_binutils_version}.tar.bz2 - ${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.bz2 + ${GNU_SITE}/gcc/gcc-${_gcc_version}/gcc-${_gcc_version}.tar.xz ${KERNEL_SITE}/kernel/v4.x/linux-${_linux_version}.tar.xz http://www.musl-libc.org/releases/musl-${_musl_version}.tar.gz" checksum=" 29a29549869039aad75fdf507ac30366da5ad0b974fbff4a8e7148dbf4f40ebf - f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f + 1cf7adf8ff4b5aa49041c8734bbcf1ad18cc4c94d0029aae0f4e48841088479a 150bb7f2dd4849b5d21b8ccd8d05294a48229e1fcb93a22e7b806a79ec0b0e45 937185a5e5d721050306cf106507a006c3f1f86d86cd550024ea7be909071011" @@ -83,8 +83,6 @@ _gcc_bootstrap() { [ -f ${wrksrc}/.gcc_bootstrap_done ] && return 0 cd ${wrksrc}/gcc-${_gcc_version} - _apply_patch -p1 ${FILESDIR}/gcc-6.3.0-musl.diff - _apply_patch -p0 ${FILESDIR}/libcpp-source_date_epoch.patch _apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch msg_normal "Building cross gcc bootstrap\n" @@ -169,6 +167,8 @@ _gcc_build() { _args+=" --with-sysroot=${_sysroot}" _args+=" --enable-languages=c,c++,fortran,lto" _args+=" --enable-lto" + _args+=" --enable-default-pie" + _args+=" --enable-default-ssp" _args+=" --disable-libsanitizer" _args+=" --disable-multilib" _args+=" --disable-nls"