summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-09-05 18:52:21 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-09-05 18:52:21 -0700
commit87cd7b8275a0509474178a309fd9a7b8605d6a71 (patch)
tree33f640032f595c6db4745d34efc00b7fda7abc31
parentUpdated to 3.5 (diff)
downloadchrony-87cd7b8275a0509474178a309fd9a7b8605d6a71.tar.xz
Rebuild with -O3 -fstack-protector-all -flto
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ed059be..e17d882 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@
pkgname=chrony
pkgver=3.5
-pkgrel=2
+pkgrel=3
pkgdesc='Lightweight NTP client and server'
url='https://chrony.tuxfamily.org/'
arch=('x86_64')
@@ -45,6 +45,8 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
+ export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4"
+ export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4"
./configure \
--prefix=/usr \
--enable-scfilter \