mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
gcc-multilib: update to 6.3.0
This commit is contained in:
parent
e00ccf3ca0
commit
ede1ea9d7b
1 changed files with 7 additions and 11 deletions
|
@ -1,18 +1,18 @@
|
||||||
# Template build file for 'gcc-multilib'
|
# Template build file for 'gcc-multilib'
|
||||||
only_for_archs="x86_64"
|
only_for_archs="x86_64"
|
||||||
_triplet="x86_64-unknown-linux-gnu"
|
_triplet="x86_64-unknown-linux-gnu"
|
||||||
_majorver=6.2
|
_majorver=6.3
|
||||||
|
|
||||||
pkgname=gcc-multilib
|
pkgname=gcc-multilib
|
||||||
version=${_majorver}.1
|
version=${_majorver}.0
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="gcc-${version}"
|
wrksrc="gcc-${version}"
|
||||||
short_desc="The GNU C Compiler (multilib files)"
|
short_desc="The GNU C Compiler (multilib files)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://gcc.gnu.org"
|
homepage="http://gcc.gnu.org"
|
||||||
license="GFDL-1.2, GPL-3, LGPL-2.1"
|
license="GFDL-1.2, GPL-3, LGPL-2.1"
|
||||||
distfiles="https://repo.voidlinux.eu/distfiles/gcc-$version.tar.xz"
|
distfiles="${GNU_SITE}/gcc/gcc-${version}/gcc-${version}.tar.bz2"
|
||||||
checksum=a7addd2d4e42e66c3b56ced8baee5a11ef7fb577e23615a4f43877273eaf9409
|
checksum=f06ae7f3f790fbf0f018f6d40e844451e6bc3b7bc96e128e63b09825c1f8b29f
|
||||||
|
|
||||||
hostmakedepends="perl flex zip unzip"
|
hostmakedepends="perl flex zip unzip"
|
||||||
makedepends="zlib-devel libmpc-devel ppl-devel cloog-devel
|
makedepends="zlib-devel libmpc-devel ppl-devel cloog-devel
|
||||||
|
@ -36,10 +36,6 @@ do_configure() {
|
||||||
|
|
||||||
# _FORTIFY_SOURCE needs an optimization level.
|
# _FORTIFY_SOURCE needs an optimization level.
|
||||||
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {gcc,libiberty}/configure
|
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"
|
# hack! some configure tests for header files using "$CPP $CPPFLAGS"
|
||||||
sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
|
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 \
|
--disable-rpath --with-system-zlib --enable-shared --enable-lto \
|
||||||
--enable-linker-build-id --enable-gnu-unique-object \
|
--enable-linker-build-id --enable-gnu-unique-object \
|
||||||
--enable-checking=release --disable-libstdcxx-pch \
|
--enable-checking=release --disable-libstdcxx-pch \
|
||||||
--with-ppl --enable-cloog-backend=isl --enable-libstdcxx-time \
|
--disable-target-libiberty --with-ppl --enable-cloog-backend=isl \
|
||||||
--enable-tls --enable-languages="c,c++,lto" \
|
--enable-libstdcxx-time --enable-tls --enable-languages="c,c++,lto" \
|
||||||
--with-linker-hash-style=gnu
|
--with-linker-hash-style=gnu
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue