summaryrefslogtreecommitdiff
path: root/absl/status
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/status
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/status')
-rw-r--r--absl/status/BUILD.bazel3
1 files changed, 3 insertions, 0 deletions
diff --git a/absl/status/BUILD.bazel b/absl/status/BUILD.bazel
index b334f31d..ce0ea70c 100644
--- a/absl/status/BUILD.bazel
+++ b/absl/status/BUILD.bazel
@@ -20,6 +20,7 @@
load(
"//absl:copts/configure_copts.bzl",
"ABSL_DEFAULT_COPTS",
+ "ABSL_DEFAULT_LINKOPTS",
"ABSL_TEST_COPTS",
)
@@ -39,6 +40,7 @@ cc_library(
"status_payload_printer.h",
],
copts = ABSL_DEFAULT_COPTS,
+ linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
"//absl/base:atomic_hook",
"//absl/base:core_headers",
@@ -76,6 +78,7 @@ cc_library(
"statusor.h",
],
copts = ABSL_DEFAULT_COPTS,
+ linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":status",
"//absl/base",