diff options
author | Googler <noreply@google.com> | 2019-03-27 10:49:05 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-27 10:50:02 -0700 |
commit | 66181f3de9926168bf6410e9cff9e05b6ed8ace3 (patch) | |
tree | 6bb691b16ace849298b42db2efe7b29c6d32bad8 /vdso | |
parent | 26583e413e40666f70170025cd4c5224f45fdfa3 (diff) |
Add //tools/cpp:cc_flags to the toolchains attribute.
This is so that CC_FLAGS will be resolved properly.
After the --incompatible_disable_genrule_cc_toolchain_dependency flag is
flipped, Bazel will no longer be providing CC_FLAGS to genrule by default.
PiperOrigin-RevId: 240595715
Change-Id: I067334051e89f7ec006a6b6b3d2f4188911ac2db
Diffstat (limited to 'vdso')
-rw-r--r-- | vdso/BUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vdso/BUILD b/vdso/BUILD index bcf527f84..81cb7c24c 100644 --- a/vdso/BUILD +++ b/vdso/BUILD @@ -55,7 +55,10 @@ genrule( "--check-data " + "--vdso $(location vdso.so) ", features = ["-pie"], - toolchains = ["@bazel_tools//tools/cpp:current_cc_toolchain"], + toolchains = [ + "@bazel_tools//tools/cpp:current_cc_toolchain", + "@bazel_tools//tools/cpp:cc_flags", + ], tools = [ ":check_vdso", ], |