https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102665
Bug ID: 102665 Summary: ELF-specific configure flags should be rejected on non-ELF platforms Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org Target Milestone: --- Specifically, --enable-gnu-unique-object and --enable-secureplt are ELF-specific configure flags, and yet are accepted anyways by the top-level configure script on non-ELF platforms with no complaint. The help string for --enable-gnu-unique-object at least mentions that it's ELF-specific, but the one for --enable-secureplt doesn't, so that's another thing that could be updated.