Problem: init_c_cfg permits the user to set a cc::Build
configuration. The setting for no_default_flags is always overridden by
uses_android_sdk. This prevents a user from building with
no_default_flags = true.
Solution: Do not override no_default_flags value. In the event
uses_android_sdk returns true, continue to set no_default_flags to
true. Note that no_default_flags defaults to false.
Problem:
init_c_cfg
permits the user to set acc::Build
configuration. The setting forno_default_flags
is always overridden byuses_android_sdk
. This prevents a user from building withno_default_flags = true
.Solution: Do not override
no_default_flags
value. In the eventuses_android_sdk
returns true, continue to setno_default_flags
to true. Note thatno_default_flags
defaults to false.Issue: https://github.com/rust-lang/cmake-rs/issues/188