mirror of
https://github.com/intel/llvm.git
synced 2026-02-03 10:39:35 +08:00
[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:
@@ -292,6 +292,10 @@ cc_library(
|
||||
"-ldl",
|
||||
"-lm",
|
||||
],
|
||||
"@platforms//os:macos": [
|
||||
"-pthread",
|
||||
"-ldl",
|
||||
],
|
||||
"//conditions:default": [
|
||||
"-pthread",
|
||||
"-ldl",
|
||||
|
||||
Reference in New Issue
Block a user