Commit e292e045 authored by Rob Earhart's avatar Rob Earhart Committed by Andreas Schuh

Use += for appends

parent 6d1c363d
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment