summaryrefslogtreecommitdiff
path: root/absl/random/internal
diff options
context:
space:
mode:
authorGravatar Jeremy Nimmer <jeremy.nimmer@tri.global>2022-06-06 13:13:36 -0700
committerGravatar Jeremy Nimmer <jeremy.nimmer@tri.global>2022-06-06 13:13:36 -0700
commitc588201b688ffce93758ff4ca17aecc24b5ab460 (patch)
treefdb1fde4a4a06f79eff22b195c7af5d8db6133a6 /absl/random/internal
parentba9f2f66095702db6b9580b40e8602ef64ec922d (diff)
Obey ABSL_DEFAULT_LINKOPTS for all cc_library targets
A few targets were missing `linkopts = ...` and so were not obeying the project-wide default settings. Omit any changes to cctz for now, because it's vendored from another project.
Diffstat (limited to 'absl/random/internal')
-rw-r--r--absl/random/internal/BUILD.bazel2
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/random/internal/BUILD.bazel b/absl/random/internal/BUILD.bazel
index 69f9f80c..fd5b6195 100644
--- a/absl/random/internal/BUILD.bazel
+++ b/absl/random/internal/BUILD.bazel
@@ -502,6 +502,7 @@ cc_test(
cc_library(
name = "mock_helpers",
hdrs = ["mock_helpers.h"],
+ linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
"//absl/base:fast_type_id",
"//absl/types:optional",
@@ -512,6 +513,7 @@ cc_library(
name = "mock_overload_set",
testonly = 1,
hdrs = ["mock_overload_set.h"],
+ linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":mock_helpers",
"//absl/random:mocking_bit_gen",