diff options
author | Seth Greenstein <sgreenstein@users.noreply.github.com> | 2017-10-10 11:08:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-10 11:08:27 -0700 |
commit | 68ee9162217867524a7649782c3610e70afdca68 (patch) | |
tree | 3ed35d92cfb10217c04c2eeb28c94c5bf5406c2e /BUILD | |
parent | 6032746882ea48ff6d983df8cb77e2ebf399bf0c (diff) |
Don't pass -lpthread and -lm on Windows
These flags are ignored by cl.exe and have no effect, but add noise to the build logs.
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -44,9 +44,11 @@ config_setting( }, ) -# Android builds do not need to link in a separate pthread library. +# Android and Windows builds do not need to link in a separate pthread library. LINK_OPTS = select({ ":android": [], + ":windows": [], + ":windows_msvc": [], "//conditions:default": ["-lpthread", "-lm"], }) |