diff options
author | Rob Earhart <rob@vertex.ai> | 2018-01-06 21:32:32 -0800 |
---|---|---|
committer | Andreas Schuh <andreas.schuh.84@gmail.com> | 2018-01-07 10:40:06 +0000 |
commit | e292e0452fcfd5a8ae055b59052fc041cbab4abf (patch) | |
tree | b169bdd128b8e2e819d699dd5306c99c7338ab8b | |
parent | 6d1c363dde8a4277f7f363446a82b2188fd94608 (diff) | |
download | gflags-master.tar.gz gflags-master.tar.bz2 gflags-master.zip |
-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, |