The script will add the options which are needed in order to work on a
platform, the linux-style subsystems are disabled for macos, bsd, and
windows.
The script will also look into a passed cross file to find out which
options to use.
Depends on D7392