forked from OSchip/llvm-project
[bazel] Also add -lrt to OrcTargetProcess for 1b1f1c7786
This commit is contained in:
parent
309aed3068
commit
439668871a
|
@ -2367,6 +2367,14 @@ cc_library(
|
||||||
"include/llvm/ExecutionEngine/Orc/TargetProcess/*.h",
|
"include/llvm/ExecutionEngine/Orc/TargetProcess/*.h",
|
||||||
]),
|
]),
|
||||||
copts = llvm_copts,
|
copts = llvm_copts,
|
||||||
|
linkopts = select({
|
||||||
|
"@bazel_tools//src/conditions:windows": [],
|
||||||
|
"@bazel_tools//src/conditions:freebsd": [],
|
||||||
|
"@bazel_tools//src/conditions:darwin": [],
|
||||||
|
"//conditions:default": [
|
||||||
|
"-lrt",
|
||||||
|
],
|
||||||
|
}),
|
||||||
deps = [
|
deps = [
|
||||||
":BinaryFormat",
|
":BinaryFormat",
|
||||||
":CodeGen",
|
":CodeGen",
|
||||||
|
|
Loading…
Reference in New Issue