https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54720
--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> --- The GNU Coding Standards contain an example of a simple way to do this: https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets