[arch-commits] Commit in gcc/trunk (PKGBUILD)
Frederik Schwan
freswa at gemini.archlinux.org
Fri Feb 11 15:44:20 UTC 2022
Date: Friday, February 11, 2022 @ 15:44:19
Author: freswa
Revision: 436932
replace manual lto deactivation with options flag
Modified:
gcc/trunk/PKGBUILD
----------+
PKGBUILD | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-11 15:11:49 UTC (rev 436931)
+++ PKGBUILD 2022-02-11 15:44:19 UTC (rev 436932)
@@ -18,7 +18,7 @@
url='https://gcc.gnu.org'
makedepends=(binutils libmpc gcc-ada doxygen lib32-glibc lib32-gcc-libs python git libxcrypt zstd)
checkdepends=(dejagnu inetutils tcl expect python-pytest)
-options=(!emptydirs debug)
+options=(!emptydirs !lto debug)
_libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
# _commit=6beb39ee6c465c21d0cc547fd66b445100cdcc35
# source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit
@@ -68,11 +68,6 @@
build() {
cd gcc-build
- # remove lto
- CFLAGS=${CFLAGS/-flto/}
- CXXFLAGS=${CXXFLAGS/-flto/}
- LDFLAGS=${LDFLAGS/-flto/}
-
# Credits @allanmcrae
# https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/gcc/PKGBUILD
# TODO: properly deal with the build issues resulting from this
More information about the arch-commits
mailing list