diff options
-rw-r--r-- | bazel/gflags.bzl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bazel/gflags.bzl b/bazel/gflags.bzl index 6d1ef6c..533fd61 100644 --- a/bazel/gflags.bzl +++ b/bazel/gflags.bzl @@ -85,13 +85,13 @@ def gflags_library(hdrs=[], srcs=[], threads=1): }) linkopts = [] if threads: - linkopts = linkopts + select({ + linkopts += select({ "//:x64_windows": [], "//conditions:default": ["-lpthread"], }) else: name += "_nothreads" - copts = copts + ["-DNO_THREADS"] + copts += ["-DNO_THREADS"] native.cc_library( name = name, hdrs = hdrs, |