提交 18cf283f 编写于 作者: 李寅

Merge branch 'static_link_omp_to_libmace.so' into 'master'

static link omp into libmace.so

See merge request !720
......@@ -47,9 +47,7 @@ cc_binary(
]),
linkopts = [
"-lm",
] + if_openmp_enabled([
"-fopenmp"
]) + if_android([
] + if_android([
"-ldl",
"-pie",
"-llog",
......
......@@ -50,7 +50,9 @@ cc_binary(
"-Wl,-soname,libmace.so",
"-Wl,--version-script",
"mace_version_script.lds",
],
] + if_openmp_enabled([
"-fopenmp",
]),
linkshared = 1,
linkstatic = 1,
deps = [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册