Add //tools/cpp:current_cc_toolchain to the toolchains attribute.

This is so that CC Make Variables will be resolved properly.

PiperOrigin-RevId: 241721367
Change-Id: Ic0d3f864b1398107118a1ada4c99cc4516db924f
This commit is contained in:
Sandboxed API Team 2019-04-03 15:48:31 +02:00 committed by Christian Blichmann
parent 29fac2d393
commit 6a65e63eae

View File

@ -261,4 +261,5 @@ def sapi_library(
$(CC) -E -x c++ - -v 2>&1 | $(CC) -E -x c++ - -v 2>&1 |
awk '/> search starts here:/{flag=1;next}/End of search/{flag=0}flag' > $@ awk '/> search starts here:/{flag=1;next}/End of search/{flag=0}flag' > $@
""", """,
toolchains = ["@bazel_tools//tools/cpp:current_cc_toolchain"],
) )