summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-05-02 17:33:27 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-05-02 17:33:27 -0700
commita7a607e0e153a8219c2e7c04f39e38502da58b3d (patch)
treece6dc74992318e3cb1907dfe5cddf8b5b6d760ef
parentUpdated to 2.6.4 (diff)
downloadfreeciv-qt-a7a607e0e153a8219c2e7c04f39e38502da58b3d.tar.xz
Fix lto
-rw-r--r--PKGBUILD4
1 files 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