diff options
author | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-08-16 18:27:23 +0200 |
---|---|---|
committer | Fabian Meumertzheim <fabian@meumertzhe.im> | 2021-08-16 20:04:28 +0200 |
commit | 5d23f7b6bbb188fb4976f7d8b641b0e3d7655970 (patch) | |
tree | de60f0a239599c25c5836790d306ed1c83e5fa1a /examples | |
parent | 8e369a2df8f5fe0bbe694ffd3e619b0be4d64522 (diff) | |
download | jazzer-api-5d23f7b6bbb188fb4976f7d8b641b0e3d7655970.tar.gz |
Use lld only with clang on Linux
Restores compatibility with gcc on linux.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/src/main/native/BUILD.bazel | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/src/main/native/BUILD.bazel b/examples/src/main/native/BUILD.bazel index 255e3509..91d6f8cd 100644 --- a/examples/src/main/native/BUILD.bazel +++ b/examples/src/main/native/BUILD.bazel @@ -10,7 +10,7 @@ cc_shared_library( "-fsanitize=fuzzer-no-link,address", ], linkopts = select({ - "@platforms//os:linux": ["-fuse-ld=lld"], + "//:clang_on_linux": ["-fuse-ld=lld"], "//conditions:default": [], }), visibility = ["//examples:__pkg__"], @@ -30,7 +30,7 @@ cc_shared_library( "-fno-sanitize-recover=all", ], linkopts = select({ - "@platforms//os:linux": ["-fuse-ld=lld"], + "//:clang_on_linux": ["-fuse-ld=lld"], "//conditions:default": [], }), visibility = ["//examples:__pkg__"], |