chroot-gcc: enable LTO support (required by mariadb).

This commit is contained in:
Juan RP 2013-09-23 14:17:15 +02:00
parent b035ced152
commit 8af8f80edd
1 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ _mpc_ver=0.8.2
pkgname=chroot-gcc pkgname=chroot-gcc
version=${_majorver}.3 version=${_majorver}.3
revision=3 revision=4
wrksrc="gcc-${version}" wrksrc="gcc-${version}"
homepage="http://gcc.gnu.org" homepage="http://gcc.gnu.org"
short_desc="The GNU C Compiler suite -- for xbps-src use" short_desc="The GNU C Compiler suite -- for xbps-src use"
@ -140,12 +140,12 @@ do_configure() {
--libdir=/usr/lib --libexecdir=/usr/lib \ --libdir=/usr/lib --libexecdir=/usr/lib \
--enable-clocale=gnu --enable-shared \ --enable-clocale=gnu --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \ --enable-threads=posix --enable-__cxa_atexit \
--disable-gold --disable-lto --enable-linker-build-id \ --disable-gold --enable-lto --enable-linker-build-id \
--with-gmp=${wrksrc}/buildtmp \ --with-gmp=${wrksrc}/buildtmp \
--with-mpfr=${wrksrc}/buildtmp \ --with-mpfr=${wrksrc}/buildtmp \
--with-mpc=${wrksrc}/buildtmp \ --with-mpc=${wrksrc}/buildtmp \
--enable-gnu-unique-object --enable-checking=release \ --enable-gnu-unique-object --enable-checking=release \
--enable-languages=c,c++ --disable-nls --disable-multilib \ --enable-languages=c,c++,lto --disable-nls --disable-multilib \
--without-cloog --without-ppl --disable-libstdcxx-pch \ --without-cloog --without-ppl --disable-libstdcxx-pch \
--disable-libquadmath --disable-libquadmath-support \ --disable-libquadmath --disable-libquadmath-support \
--disable-libgomp --disable-libssp --disable-libitm \ --disable-libgomp --disable-libssp --disable-libitm \
@ -211,6 +211,6 @@ chroot-gcc_package() {
conflicts="libgcc>=0 libstdc++>=0 libstdc++-devel>=0 gcc>=0 gcc-c++>=0" conflicts="libgcc>=0 libstdc++>=0 libstdc++-devel>=0 gcc>=0 gcc-c++>=0"
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr vmove all
} }
} }