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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information