about summary refs log tree commit diff
path: root/absl/utility/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'absl/utility/BUILD.bazel')
-rw-r--r--absl/utility/BUILD.bazel3
1 files changed, 3 insertions, 0 deletions
diff --git a/absl/utility/BUILD.bazel b/absl/utility/BUILD.bazel
index 5185ccd8421b..d41317e3507e 100644
--- a/absl/utility/BUILD.bazel
+++ b/absl/utility/BUILD.bazel
@@ -1,6 +1,7 @@
 load(
     "//absl:copts/configure_copts.bzl",
     "ABSL_DEFAULT_COPTS",
+    "ABSL_DEFAULT_LINKOPTS",
     "ABSL_TEST_COPTS",
 )
 
@@ -12,6 +13,7 @@ cc_library(
     name = "utility",
     hdrs = ["utility.h"],
     copts = ABSL_DEFAULT_COPTS,
+    linkopts = ABSL_DEFAULT_LINKOPTS,
     deps = [
         "//absl/base:base_internal",
         "//absl/base:config",
@@ -23,6 +25,7 @@ cc_test(
     name = "utility_test",
     srcs = ["utility_test.cc"],
     copts = ABSL_TEST_COPTS,
+    linkopts = ABSL_DEFAULT_LINKOPTS,
     deps = [
         ":utility",
         "//absl/base:core_headers",