summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/sntp/harden/linux
blob: 5f9c4e91f3859ec31596ebe14c0afb96cb7d2d30 (plain)
1
2
3
4
# generic linux hardening flags
NTP_HARD_CFLAGS="-fPIE -fPIC -fstack-protector-all -O1"
NTP_HARD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
NTP_HARD_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
OpenPOWER on IntegriCloud