summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-09-05 23:36:31 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-09-05 23:36:31 -0700
commitf0a87072c32b63665313396732d02209d13a117f (patch)
tree053ad7885569fbe41e097838af1b5108340fd091
parentRebuild with -O3 -fstack-protector-all -flto (diff)
downloadchrony-f0a87072c32b63665313396732d02209d13a117f.tar.xz
Rebuild with -fPIE
Fix pkgrel
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e17d882..ac39cd5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@
pkgname=chrony
pkgver=3.5
-pkgrel=3
+pkgrel=2.4
pkgdesc='Lightweight NTP client and server'
url='https://chrony.tuxfamily.org/'
arch=('x86_64')
@@ -45,8 +45,9 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
- export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4"
- export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4"
+ export CFLAGS="$CFLAGS -O3 -fstack-protector-all -flto=4 -fPIE"
+ export CXXFLAGS="$CXXFLAGS -O3 -fstack-protector-all -flto=4 -fPIE"
+ export LDFLAGS="$LDFLAGS,-pie"
./configure \
--prefix=/usr \
--enable-scfilter \