The previous one would fail if "gcc" was in the install path.
The musl getopt does not swap arguments and requires every option to precede every non-option. Do that in the CMake functions generate_g1a() and generate_g3a().