From a7a607e0e153a8219c2e7c04f39e38502da58b3d Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sun, 2 May 2021 17:33:27 -0700 Subject: Fix lto --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 951f94f..054eca4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -24,8 +24,8 @@ b2sums=('00392974707d9a11e626ac7855fcb27780492b7bead020f6849726ad39833d9ada288ba build() { cd ${_pkgname}-${pkgver} - export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIC" - export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIC" + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=auto -fPIC" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=auto -fPIC" ./configure --prefix=/usr --sysconfdir=/etc --enable-shared --enable-sys-lua \ --enable-client=qt --enable-fcmp=qt --enable-fcdb=sqlite3 --enable-aimodules make -- cgit v1.2.1