doc: update stack-clash-protection comment re mingw-w64

We no-longer support GCC 10.
This commit is contained in:
fanquake 2024-11-05 10:42:59 +00:00
parent bf47448f15
commit ee1128ead8
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -479,8 +479,7 @@ if(ENABLE_HARDENING)
try_append_cxx_flags("-fcf-protection=full" TARGET hardening_interface)
if(MINGW)
# stack-clash-protection doesn't compile with GCC 10 and earlier.
# In any case, it is a no-op for Windows.
# stack-clash-protection is a no-op for Windows.
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90458 for more details.
else()
try_append_cxx_flags("-fstack-clash-protection" TARGET hardening_interface)