set cache-policy only when use_lld is set.
We did not use cache-policy when using gold. This fixes a config time error when using gold instead of lld. The error message is You set the variable "cache_policy" here and it was unused before it went out of scope Change-Id: I3dad8850899e3126549fd22fcc5bb8d60ef0d7df Reviewed-on: https://chromium-review.googlesource.com/923398Reviewed-by:Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Scott Graham <scottmg@chromium.org> Commit-Queue: Yunlian Jiang <yunlian@chromium.org> Cr-Commit-Position: refs/heads/master@{#537421}
Showing
Please register or sign in to comment