Skip to content

Commit

Permalink
doc: update stack-clash-protection comment re mingw-w64
Browse files Browse the repository at this point in the history
We no-longer support GCC 10.
  • Loading branch information
fanquake committed Nov 8, 2024
1 parent bf47448 commit ee1128e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ee1128e

Please sign in to comment.