[PATCH] D118270: Initialize terminfo.bzl linkopts to None

Jon Perkins via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 26 09:50:18 PST 2022


jonmeow created this revision.
jonmeow added a reviewer: GMNGeoffrey.
jonmeow requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Initialize terminfo.bzl linkopts to None


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118270

Files:
  utils/bazel/terminfo.bzl


Index: utils/bazel/terminfo.bzl
===================================================================
--- utils/bazel/terminfo.bzl
+++ utils/bazel/terminfo.bzl
@@ -113,6 +113,7 @@
         # these would be provided as lists, but Bazel doesn't currently
         # support that. See: https://github.com/bazelbuild/bazel/issues/12178
         linkopts_candidates = [[x] for x in repository_ctx.attr.candidate_system_linkopts]
+        linkopts = None
 
         # For each candidate, try to use it to link our test source file.
         for linkopts_candidate in linkopts_candidates:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118270.403321.patch
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220126/b2d49a4a/attachment.bin>


More information about the llvm-commits mailing list