diff options
author | Rei Shimizu <Shikugawa@gmail.com> | 2020-07-13 06:21:35 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-12 17:21:35 -0400 |
commit | 302b250e1d917ede77b5ff00a6fd9f28430f1563 (patch) | |
tree | 1f656d24c5d73c75d55e521950c4001259826296 /absl/base/BUILD.bazel | |
parent | 61d8bc057cacd2355be9e34aa6856b87de3c4e7f (diff) |
Disable pthread for standalone wasm build support (#721)
* Disable pthread for wasm build support
* wasm -> wasm32
Diffstat (limited to 'absl/base/BUILD.bazel')
-rw-r--r-- | absl/base/BUILD.bazel | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/base/BUILD.bazel b/absl/base/BUILD.bazel index 745a598f..23f2763a 100644 --- a/absl/base/BUILD.bazel +++ b/absl/base/BUILD.bazel @@ -161,6 +161,7 @@ cc_library( copts = ABSL_DEFAULT_COPTS, linkopts = select({ "//absl:windows": [], + "//absl:wasm": [], "//conditions:default": ["-pthread"], }) + ABSL_DEFAULT_LINKOPTS, visibility = [ @@ -222,6 +223,7 @@ cc_library( "//absl:windows": [ "-DEFAULTLIB:advapi32.lib", ], + "//absl:wasm": [], "//conditions:default": ["-pthread"], }) + ABSL_DEFAULT_LINKOPTS, deps = [ |