xref: /freebsd/contrib/ntp/sntp/harden/linux (revision 1a13f2e6b444dd8048aebd2ac1f0b8fae9e3088f)
1# generic linux hardening flags
2NTP_HARD_CFLAGS="-fPIE -fPIC -fstack-protector-all -O1"
3NTP_HARD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
4NTP_HARD_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
5