Skip to content

Commit

Permalink
Allow setting needsPic crosstool capability using feature
Browse files Browse the repository at this point in the history
`needsPic` can now be expressed using 'pic' feature (should be enabled for it to take effect).

This cl is a step towards bazelbuild/bazel#5883. Also
see the rollout doc here:
https://docs.google.com/document/d/1uv4c1zag6KvdI31qdx8C6jiTognXPQrxgsUpVefm9fM/edit#.

Flag removing legacy behavior is bazelbuild/bazel#6861

RELNOTES: None.
PiperOrigin-RevId: 227134726
  • Loading branch information
hlopko committed Jan 9, 2019
1 parent c8a8211 commit 169818c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ message CToolchain {
optional bool supports_fission = 43 [default = false];
// Legacy field, ignored by Bazel.
optional bool supports_dsym = 51 [default = false];
// Legacy field, use 'supports_pic' feature instead
optional bool needsPic = 12 [default = false];

// Compiler flags for C/C++/Asm compilation.
Expand Down

0 comments on commit 169818c

Please sign in to comment.