2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-11-28 21:34:00 +00:00

Allow setting needsPic crosstool capability using feature

`needsPic` can now be expressed using 'pic' feature (should be enabled for it to take effect).

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

Flag removing legacy behavior is https://github.com/bazelbuild/bazel/issues/6861

RELNOTES: None.
PiperOrigin-RevId: 227134726
This commit is contained in:
hlopko 2018-12-28 16:44:21 +01:00 committed by Marcel Hlopko
parent c8a8211959
commit 169818c32d

View file

@ -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.