Commit 68ee9162 authored by Seth Greenstein's avatar Seth Greenstein Committed by GitHub

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.
parent 60327468
...@@ -44,9 +44,11 @@ config_setting( ...@@ -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({ LINK_OPTS = select({
":android": [], ":android": [],
":windows": [],
":windows_msvc": [],
"//conditions:default": ["-lpthread", "-lm"], "//conditions:default": ["-lpthread", "-lm"],
}) })
......
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