Skip to content

Commit

Permalink
Remove supports_pic
Browse files Browse the repository at this point in the history
This was dead code and i assumed that was a bug, but the bug was it
being there at all bazelbuild/bazel#12439
  • Loading branch information
keith committed Jan 11, 2023
1 parent 09c0e55 commit e7c43f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crosstool/cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -893,8 +893,6 @@ def _impl(ctx):
else:
apply_simulator_compiler_flags_feature = feature(name = "apply_simulator_compiler_flags")

supports_pic_feature = feature(name = "supports_pic", enabled = True)

fastbuild_feature = feature(name = "fastbuild")

no_legacy_features_feature = feature(name = "no_legacy_features")
Expand Down Expand Up @@ -2722,7 +2720,6 @@ def _impl(ctx):
ubsan_feature,
default_sanitizer_flags_feature,
archive_param_file_feature,
supports_pic_feature,
]
elif (ctx.attr.cpu == "darwin_x86_64" or
ctx.attr.cpu == "darwin_arm64" or
Expand Down Expand Up @@ -2805,7 +2802,6 @@ def _impl(ctx):
ubsan_feature,
default_sanitizer_flags_feature,
archive_param_file_feature,
supports_pic_feature,
]
else:
fail("Unreachable")
Expand Down

0 comments on commit e7c43f0

Please sign in to comment.