diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2021-08-11 10:40:07 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-08-13 10:49:50 +0200 |
commit | fa940d4f8ad63500961deb6045076833a65cf5ee (patch) | |
tree | f154ba4a73c63907a62e6cc8d924624a0d2ff780 /driver | |
parent | 978a25e8cf2e5082b62d7d5f0e9b13679acdac1d (diff) | |
download | jazzer-api-fa940d4f8ad63500961deb6045076833a65cf5ee.tar.gz |
Do not build .pic.o for //driver
Diffstat (limited to 'driver')
-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"], |