aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/sntp/harden/linux
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2018-02-28 07:59:55 +0000
committerXin LI <delphij@FreeBSD.org>2018-02-28 07:59:55 +0000
commit091002585974d17c9533f943ec351c13a69788ab (patch)
treebbec1fc0a4b38e43c77b88d63529f7c983f36704 /contrib/ntp/sntp/harden/linux
parent230061c53d4087036d9555911b73b63af26b1f50 (diff)
parentd14ac12f8738acac881f20b4d6244cfc22c68ead (diff)
MFV r330102: ntp 4.2.8p11
Notes
Notes: svn path=/head/; revision=330104
Diffstat (limited to 'contrib/ntp/sntp/harden/linux')
-rw-r--r--contrib/ntp/sntp/harden/linux4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ntp/sntp/harden/linux b/contrib/ntp/sntp/harden/linux
index db235446e1db..5f9c4e91f385 100644
--- a/contrib/ntp/sntp/harden/linux
+++ b/contrib/ntp/sntp/harden/linux
@@ -1,4 +1,4 @@
# generic linux hardening flags
-NTP_HARD_CFLAGS="-pie -fPIE -fPIC -fstack-protector-all -O1"
+NTP_HARD_CFLAGS="-fPIE -fPIC -fstack-protector-all -O1"
NTP_HARD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
-NTP_HARD_LDFLAGS="-z relro -z now"
+NTP_HARD_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"