aboutsummaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorFabian Meumertzheim <meumertzheim@code-intelligence.com>2021-08-11 10:40:07 +0200
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-08-13 10:49:50 +0200
commitfa940d4f8ad63500961deb6045076833a65cf5ee (patch)
treef154ba4a73c63907a62e6cc8d924624a0d2ff780 /driver
parent978a25e8cf2e5082b62d7d5f0e9b13679acdac1d (diff)
downloadjazzer-api-fa940d4f8ad63500961deb6045076833a65cf5ee.tar.gz
Do not build .pic.o for //driver
Diffstat (limited to 'driver')
-rw-r--r--driver/BUILD.bazel5
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"],