[bazel] Remove -lm on macOS (#86706)

Bazel links this library by default which leads to this linker warning
on macOS:

```
ld: warning: ignoring duplicate libraries: '-lm'
```
This commit is contained in:
Keith Smiley 2024-03-27 09:35:45 -07:00 committed by GitHub
parent 6ad1cf3b37
commit 0099c584ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -292,6 +292,10 @@ cc_library(
"-ldl",
"-lm",
],
"@platforms//os:macos": [
"-pthread",
"-ldl",
],
"//conditions:default": [
"-pthread",
"-ldl",