Even when you define your own cross compilation toolchain in Bazel, it still comes with a set of predefined, 'sane' defaults for the compilation and linking flags. But if you want to take full control over the generated commands, you can turn off all the default features, that