gcc-multilib: update to 6.3.0

This commit is contained in:
Jürgen Buchmüller 2016-12-23 17:28:50 +01:00
parent e00ccf3ca0
commit ede1ea9d7b
1 changed files with 7 additions and 11 deletions

View File

@ -1,18 +1,18 @@
# Template build file for 'gcc-multilib'
only_for_archs="x86_64"
_triplet="x86_64-unknown-linux-gnu"
_majorver=6.2
_majorver=6.3
pkgname=gcc-multilib
version=${_majorver}.1
revision=2
version=${_majorver}.0
revision=1
wrksrc="gcc-${version}"
short_desc="The GNU C Compiler (multilib files)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gcc.gnu.org"
license="GFDL-1.2, GPL-3, LGPL-2.1"
distfiles="https://repo.voidlinux.eu/distfiles/gcc-$version.tar.xz"
checksum=a7addd2d4e42e66c3b56ced8baee5a11ef7fb577e23615a4f43877273eaf9409
distfiles="${GNU_SITE}/gcc/gcc-${version}/gcc-${version}.tar.bz2"
checksum=f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f
hostmakedepends="perl flex zip unzip"
makedepends="zlib-devel libmpc-devel ppl-devel cloog-devel
@ -36,10 +36,6 @@ do_configure() {
# _FORTIFY_SOURCE needs an optimization level.
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {gcc,libiberty}/configure
# As specified in the LFS book, disable installing libiberty.
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
# Do not run fixincludes
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
# hack! some configure tests for header files using "$CPP $CPPFLAGS"
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
@ -50,8 +46,8 @@ do_configure() {
--disable-rpath --with-system-zlib --enable-shared --enable-lto \
--enable-linker-build-id --enable-gnu-unique-object \
--enable-checking=release --disable-libstdcxx-pch \
--with-ppl --enable-cloog-backend=isl --enable-libstdcxx-time \
--enable-tls --enable-languages="c,c++,lto" \
--disable-target-libiberty --with-ppl --enable-cloog-backend=isl \
--enable-libstdcxx-time --enable-tls --enable-languages="c,c++,lto" \
--with-linker-hash-style=gnu
}