Skip to content

Commit 24eec1c

Browse files
committed
1 parent baa8a92 commit 24eec1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

toolchain/toolchain_env.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def _toolchain_env_impl(repository_ctx):
129129
link_opts = _get_copts_env_var(repository_ctx, "BAZEL_LINKOPTS")
130130

131131
escaped_include_paths = _get_escaped_xcode_cxx_inc_directories(repository_ctx, xcode_locator)
132-
enable_layering_check = repository_ctx.os.environ.get("APPLE_SUPPORT_LAYERING_CHECK_BETA") == "1"
132+
enable_layering_check = repository_ctx.os.environ.get("APPLE_SUPPORT_LAYERING_CHECK_BETA") != "0"
133133

134134
env = repository_ctx.os.environ
135135
should_disable = _DISABLE_ENV_VAR in env and env[_DISABLE_ENV_VAR] == "1"

0 commit comments

Comments
 (0)