提交 70669cd3 编写于 作者: A an_xinwei

wgr build

Signed-off-by: Nan_xinwei <an_xinwei@hoperun.com>
上级 955d01f7
......@@ -71,6 +71,7 @@ if (defined(ohos_lite)) {
}
}
} else {
if (use_musl) {
inherited_configs = [
"//build/config/compiler:afdo",
"//build/config/compiler:afdo_optimize_size",
......@@ -89,6 +90,7 @@ if (defined(ohos_lite)) {
"//build/config/compiler:thin_archive",
"//build/config/sanitizers:default_sanitizer_flags",
]
}
source_set("parameterbase") {
sources = comm_sources
......@@ -98,15 +100,15 @@ if (defined(ohos_lite)) {
"//base/startup/init/services/param/linux/param_osadp.c",
]
cflags = [ "-fPIC" ]
ldflags = [ "-nostdlib" ]
configs -= inherited_configs
configs += [ "//build/config/compiler:compiler" ]
include_dirs = base_include_dirs
public_configs = [ ":exported_header_files" ]
defines = [ "_GNU_SOURCE" ]
deps = []
if (use_musl) {
ldflags = [ "-nostdlib" ]
configs -= inherited_configs
configs += [ "//build/config/compiler:compiler" ]
defines += [ "PARAM_BASE" ]
} else {
include_dirs += [ "//third_party/bounds_checking_function/include" ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册