summarylogtreecommitdiffstats
path: root/0001-arch-dynamically-link-libpsl.patch
blob: e2280adbcf1093ec32086f912eadd950b174ce67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Naur a/.bazelrc b/.bazelrc
--- a/.bazelrc	2024-10-15 12:15:52.000000000 -0400
+++ b/.bazelrc	2024-10-16 10:22:02.877016466 -0400
@@ -68,7 +68,7 @@
 build:linux --fission=dbg,opt
 build:linux --features=per_object_debug_info
 build:linux --action_env=BAZEL_LINKLIBS=-l%:libstdc++.a
-build:linux --action_env=BAZEL_LINKOPTS=-lm
+build:linux --action_env=BAZEL_LINKOPTS=-lm:-lpsl
 
 # We already have absl in the build, define absl=1 to tell googletest to use absl for backtrace.
 build --define absl=1
@@ -197,7 +197,7 @@
 build:libc++ --action_env=LDFLAGS=-stdlib=libc++
 build:libc++ --action_env=BAZEL_CXXOPTS=-stdlib=libc++
 build:libc++ --action_env=BAZEL_LINKLIBS=-l%:libc++.a:-l%:libc++abi.a
-build:libc++ --action_env=BAZEL_LINKOPTS=-lm:-pthread
+build:libc++ --action_env=BAZEL_LINKOPTS=-lm:-pthread:-lpsl
 build:libc++ --define force_libcpp=enabled
 build:clang-libc++ --config=libc++