From 2139fde87e7deaa6fa3c1068718b280d2c2b1e1d Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Thu, 5 Sep 2019 22:51:36 -0700 Subject: Rebuild with -O3 -fstack-protector-all -fno-lto --- PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 25c5912..e09fe53 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ pkgname=keepassxc pkgver=2.4.3 -pkgrel=1 +pkgrel=2 pkgdesc="Cross-platform community-driven port of Keepass password manager" arch=(x86_64) url="https://keepassxc.org/" @@ -31,6 +31,8 @@ prepare() { build() { cd build + export CFLAGS="$CFLAGS -O3 -fstack-protector-all -fno-lto" + export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -fno-lto" cmake ../$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -- cgit v1.2.1