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