From 8af8f80edd2c2ec65ecbaa4141b09fe79c382138 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Sep 2013 14:17:15 +0200 Subject: [PATCH] chroot-gcc: enable LTO support (required by mariadb). --- srcpkgs/chroot-gcc/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/chroot-gcc/template b/srcpkgs/chroot-gcc/template index bb3b04855cf..9de10ea8769 100644 --- a/srcpkgs/chroot-gcc/template +++ b/srcpkgs/chroot-gcc/template @@ -7,7 +7,7 @@ _mpc_ver=0.8.2 pkgname=chroot-gcc version=${_majorver}.3 -revision=3 +revision=4 wrksrc="gcc-${version}" homepage="http://gcc.gnu.org" short_desc="The GNU C Compiler suite -- for xbps-src use" @@ -140,12 +140,12 @@ do_configure() { --libdir=/usr/lib --libexecdir=/usr/lib \ --enable-clocale=gnu --enable-shared \ --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-mpfr=${wrksrc}/buildtmp \ --with-mpc=${wrksrc}/buildtmp \ --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 \ --disable-libquadmath --disable-libquadmath-support \ --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" noverifyrdeps=yes pkg_install() { - vmove usr + vmove all } }