Do not put sysroot into unfiltered_compile_flags
Now that we have dedicated sysroot variable, it is not necessary to have it in
unfiltered_compile_flags (actually, it's bad to have it here because it assumes
sysroot= flag, and that doesn't work cross-platform).
RELNOTES: None.
@@ -500,7 +500,7 @@ public final class CppModel {
*/
public static Supplier<ImmutableList<String>> getUnfilteredCompileFlagsSupplier(
CcToolchainProvider ccToolchain, ImmutableSet<String> features) {
- return () -> ccToolchain.getUnfilteredCompilerOptionsWithSysroot(features);
+ return () -> ccToolchain.getUnfilteredCompilerOptions(features);
}
/**
