From 87cd7b8275a0509474178a309fd9a7b8605d6a71 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Thu, 5 Sep 2019 18:52:21 -0700 Subject: Rebuild with -O3 -fstack-protector-all -flto --- PKGBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.1