Skip to content

Commit

Permalink
build: Work around macOS linker breakage (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
varungandhi-src authored Mar 1, 2024
1 parent 5203b75 commit 3403e47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ build:linux --linkopt="-fuse-ld=lld"

# Based on release notes from since we're on Bazel < 7
# https://github.com/bazel-contrib/toolchains_llvm/releases/tag/0.10.3
build:darwin --features=-supports_dynamic_linker
build:darwin --features=-libtool
build --features=-supports_dynamic_linker
build --features=-libtool

# Not sure why setting all of these is necessary, but just setting cxxopt
# Leads to usage of old C++ version when compiling LLVM, which needs C++14 or newer.
Expand Down

0 comments on commit 3403e47

Please sign in to comment.