diff options
author | Jeremy Nimmer <jeremy.nimmer@tri.global> | 2022-06-06 13:13:36 -0700 |
---|---|---|
committer | Jeremy Nimmer <jeremy.nimmer@tri.global> | 2022-06-06 13:13:36 -0700 |
commit | c588201b688ffce93758ff4ca17aecc24b5ab460 (patch) | |
tree | fdb1fde4a4a06f79eff22b195c7af5d8db6133a6 /absl/random | |
parent | ba9f2f66095702db6b9580b40e8602ef64ec922d (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')
-rw-r--r-- | absl/random/BUILD.bazel | 1 | ||||
-rw-r--r-- | absl/random/internal/BUILD.bazel | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/absl/random/BUILD.bazel b/absl/random/BUILD.bazel index 27f3e334..d983685c 100644 --- a/absl/random/BUILD.bazel +++ b/absl/random/BUILD.bazel @@ -128,6 +128,7 @@ cc_library( name = "mock_distributions", testonly = 1, hdrs = ["mock_distributions.h"], + linkopts = ABSL_DEFAULT_LINKOPTS, deps = [ ":distributions", ":mocking_bit_gen", 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", |