diff options
Diffstat (limited to 'driver/BUILD.bazel')
-rw-r--r-- | driver/BUILD.bazel | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/BUILD.bazel b/driver/BUILD.bazel index c636884b..d38acffc 100644 --- a/driver/BUILD.bazel +++ b/driver/BUILD.bazel @@ -1,6 +1,11 @@ load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test") load("//bazel:cc.bzl", "cc_17_library") +# None of the targets in this package should be built into shared objects. By +# disabling the supports_pic feature, we reduce build time otherwise spent on +# .pic.o files. +package(features = ["-supports_pic"]) + cc_library( name = "sanitizer_hooks_with_pc", srcs = ["sanitizer_hooks_with_pc.cpp"], |