diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-05 23:36:31 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-09-05 23:36:31 -0700 |
commit | f0a87072c32b63665313396732d02209d13a117f (patch) | |
tree | 053ad7885569fbe41e097838af1b5108340fd091 | |
parent | Rebuild with -O3 -fstack-protector-all -flto (diff) | |
download | chrony-f0a87072c32b63665313396732d02209d13a117f.tar.xz |
Rebuild with -fPIE
Fix pkgrel
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 \ |