]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
Add checks for Spectre v2 mitigation (retpoline)
authorDarren Tucker <dtucker@dtucker.net>
Sat, 10 Feb 2018 22:32:37 +0000 (09:32 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Sat, 10 Feb 2018 22:32:37 +0000 (09:32 +1100)
commit3377df00ea3fece5293db85fe63baef33bf5152e
tree8bb0afdc52a68c51aa6aed773a9efc4db04ac492
parentd9e5cf078ea5380da6df767bb1773802ec557ef0
Add checks for Spectre v2 mitigation (retpoline)

This adds checks for gcc and clang flags for mitigations for Spectre
variant 2, ie "retpoline".  It'll automatically enabled if the compiler
supports it as part of toolchain hardening flag.  ok djm@
configure.ac