Skip to content

Flags to increase hardening on macOS

We can add the following flags to our Mac build for some extra protection:

-fstack-protector-strong
-D_FORTIFY_SOURCE=2
-Werror=format
-Werror=format-security
OSZAR »