提交 60570da6 编写于 作者: O openharmony_ci 提交者: Gitee

!123 【轻量级 PR】:remove pie for cortex-m static library

Merge pull request !123 from yangming_ha/N/A
...@@ -54,7 +54,7 @@ template("lite_library") { ...@@ -54,7 +54,7 @@ template("lite_library") {
if (shared_lib) { if (shared_lib) {
cflags += [ "-fPIC" ] cflags += [ "-fPIC" ]
cflags_cc += [ "-fPIC" ] cflags_cc += [ "-fPIC" ]
} else { } else if (!shared_lib && ohos_kernel_type != "liteos_m") {
cflags += [ "-fPIE" ] cflags += [ "-fPIE" ]
cflags_cc += [ "-fPIE" ] cflags_cc += [ "-fPIE" ]
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册