[PATCH] D110533: [Bazel] link backtrace library when building llvm/lib/Support under FreeBSD

Geoffrey Martin-Noble via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 14:24:46 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3e94833823fe: [Bazel] link backtrace library when building llvm/lib/Support under FreeBSD (authored by wamuir, committed by GMNGeoffrey).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110533/new/

https://reviews.llvm.org/D110533

Files:
  utils/bazel/llvm-project-overlay/llvm/BUILD.bazel


Index: utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -206,6 +206,12 @@
     includes = ["include"],
     linkopts = select({
         "@bazel_tools//src/conditions:windows": [],
+        "@bazel_tools//src/conditions:freebsd": [
+            "-pthread",
+            "-lexecinfo",
+            "-ldl",
+            "-lm",
+        ],
         "//conditions:default": [
             "-pthread",
             "-ldl",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110533.382464.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211026/abae37bf/attachment.bin>


More information about the llvm-commits mailing list