chroot-gcc: enable LTO support (required by mariadb).
This commit is contained in:
parent
b035ced152
commit
8af8f80edd
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue