Skip to content

Commit

Permalink
Enable --incompatible_disable_sysroot_from_configuration by default.
Browse files Browse the repository at this point in the history
Incompatible change issue: #6565.
Part of overall sysroot cleanup in #6543.

RELNOTES: Turn on --incompatible_disable_sysroot_from_configuration

Closes #6614.

PiperOrigin-RevId: 220647100
  • Loading branch information
katre authored and Copybara-Service committed Nov 8, 2018
1 parent 49673bd commit efc4338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ public Label getFdoPrefetchHintsLabel() {
// TODO(--incompatible_disable_systool_from_configration): Deprecate the feature and remove.
@Option(
name = "incompatible_disable_sysroot_from_configuration",
defaultValue = "false",
defaultValue = "true",
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
effectTags = {OptionEffectTag.LOADING_AND_ANALYSIS},
metadataTags = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ public void testSysroot_fromCrosstool() throws Exception {
.setupCrosstool(
mockToolsConfig,
CrosstoolConfig.CToolchain.newBuilder().setDefaultGrteTop("//libc1").buildPartial());
useConfiguration();
useConfiguration("--incompatible_disable_sysroot_from_configuration=false");
ConfiguredTarget target = getConfiguredTarget("//a:b");
CcToolchainProvider toolchainProvider =
(CcToolchainProvider) target.get(ToolchainInfo.PROVIDER);
Expand Down

0 comments on commit efc4338

Please sign in to comment.