summaryrefslogtreecommitdiff
path: root/absl/random
diff options
context:
space:
mode:
authorGravatar Rei Shimizu <Shikugawa@gmail.com>2020-07-13 06:21:35 +0900
committerGravatar GitHub <noreply@github.com>2020-07-12 17:21:35 -0400
commit302b250e1d917ede77b5ff00a6fd9f28430f1563 (patch)
tree1f656d24c5d73c75d55e521950c4001259826296 /absl/random
parent61d8bc057cacd2355be9e34aa6856b87de3c4e7f (diff)
Disable pthread for standalone wasm build support (#721)
* Disable pthread for wasm build support * wasm -> wasm32
Diffstat (limited to 'absl/random')
-rw-r--r--absl/random/internal/BUILD.bazel1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/random/internal/BUILD.bazel b/absl/random/internal/BUILD.bazel
index a0eba5e8..83843b4c 100644
--- a/absl/random/internal/BUILD.bazel
+++ b/absl/random/internal/BUILD.bazel
@@ -99,6 +99,7 @@ cc_library(
copts = ABSL_DEFAULT_COPTS,
linkopts = select({
"//absl:windows": [],
+ "//absl:wasm": [],
"//conditions:default": ["-pthread"],
}) + ABSL_DEFAULT_LINKOPTS,
deps = [