Try to fix android builds for clang 9 / x86_64 targets
@@ -17,11 +17,6 @@ pub fn additional_clang_args(target: &str, target_arch: &str) -> Vec<String> {
_ => {}
};
- match (cargo::host().system.as_str(), target_arch) {
- // On Linux hosts (Ubuntu 18, LLVM 6) and x86_64 targets, we do have better chances without
- // any further configuration adjustments.
- ("linux", "x86_64") => {}
- _ => {
let ndk = ndk();
// this is what's done in the skia.ninja file:
args.push(format!("--sysroot={}/sysroot", ndk));
@@ -33,9 +28,6 @@ pub fn additional_clang_args(target: &str, target_arch: &str) -> Vec<String> {
ndk
));
args.push(format!("--target={}", target));
- }
- }
-
args
}
