about summary refs log tree commit diff
path: root/absl/meta/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'absl/meta/BUILD.bazel')
-rw-r--r--absl/meta/BUILD.bazel3
1 files changed, 3 insertions, 0 deletions
diff --git a/absl/meta/BUILD.bazel b/absl/meta/BUILD.bazel
index 1c39fa98b635..c2435f4f6333 100644
--- a/absl/meta/BUILD.bazel
+++ b/absl/meta/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 = "type_traits",
     hdrs = ["type_traits.h"],
     copts = ABSL_DEFAULT_COPTS,
+    linkopts = ABSL_DEFAULT_LINKOPTS,
     deps = [
         "//absl/base:config",
     ],
@@ -21,6 +23,7 @@ cc_test(
     name = "type_traits_test",
     srcs = ["type_traits_test.cc"],
     copts = ABSL_TEST_COPTS,
+    linkopts = ABSL_DEFAULT_LINKOPTS,
     deps = [
         ":type_traits",
         "//absl/base:core_headers",