Permalink
Browse files

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.
  • Loading branch information...
sgreenstein committed Oct 10, 2017
1 parent 6032746 commit 68ee9162217867524a7649782c3610e70afdca68
Showing with 3 additions and 1 deletion.
  1. +3 −1 BUILD
View
4 BUILD
@@ -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"],
})

0 comments on commit 68ee916

Please sign in to comment.