What is "os" in the above? If it's the environment variable OS then,
indeed, there's no equivalent on macOS (either kind of silicon).
I don't know whether Windows defines "OS", but if it does you could just
set Darwin (or whatever) as the default?
OS := external ("OS", "Darwin");
If you're using Alire, the generated config/{crate}_config.gpr contains
on macOS
Alire_Host_OS := "macos";