Could someone please advise how I would enable -Wformat-security when building Haiku (or its sub-components)? I assume its in the ArchitectureRules file but I am not familiar with it enough t figure out where.
EDIT: GCC 2 : it should be protected with “if $(HAIKU_CC_IS_LEGACY_GCC_$(architecture)) != 1”
So just adding after “-Woverloaded-virtual” would be sufficient? 64bit only testing in this case.
Can confirm that is the correct location. Thanks!