aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuy Contributors <ruy-eng@google.com>2021-05-17 10:24:29 -0700
committerCopybara-Service <copybara-worker@google.com>2021-05-17 10:24:50 -0700
commit23633b37099b614a2f836ef012cafc8087fdb98c (patch)
treee9d64e28a58998a7dbdd98f8fbb30b8101622211
parentd37128311b445e758136b8602d1bbd2a755e115d (diff)
downloadruy-23633b37099b614a2f836ef012cafc8087fdb98c.tar.gz
remove pthread requirement for cc_target_os:xtensa
PiperOrigin-RevId: 374225894
-rw-r--r--ruy/build_defs.oss.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruy/build_defs.oss.bzl b/ruy/build_defs.oss.bzl
index e405b41..485d453 100644
--- a/ruy/build_defs.oss.bzl
+++ b/ruy/build_defs.oss.bzl
@@ -11,5 +11,6 @@ def ruy_linkopts_thread_standard_library():
# https://github.com/abseil/abseil-cpp/blob/1112609635037a32435de7aa70a9188dcb591458/absl/base/BUILD.bazel#L155
return select({
"@bazel_tools//src/conditions:windows": [],
+ "//tools/cc_target_os:xtensa": [],
"//conditions:default": ["-pthread"],
})