提交 bbc4e6db 编写于 作者: C chengjinsong2

修改告警

Signed-off-by: Nchengjinsong2 <chengjinsong2@huawei.com>
上级 5434b02f
......@@ -37,6 +37,7 @@ if (defined(ohos_lite)) {
# innerkits for module development
#
ohos_native_stub_library("libinit_module_engine") {
cflags = [ "-fstack-protector-all" ]
output_extension = "so"
public_configs = [ ":init_module_engine_exported_config" ]
stub_description_file = "./stub/libinit.stub.json"
......@@ -54,6 +55,7 @@ if (defined(ohos_lite)) {
# Generate empty library with symlink name to satisfy init loading required libraries
#
ohos_native_stub_library("libinit_stub_empty") {
cflags = [ "-fstack-protector-all" ]
output_extension = "so"
stub_description_file = "./stub/libinit.stub.empty.json"
part_name = "init"
......
......@@ -14,6 +14,7 @@
import("//build/ohos.gni")
ohos_shared_library("deviceinfo_ndk") {
cflags = [ "-fstack-protector-all" ]
sources = [
"src/deviceinfo.c",
"src/syscap_ndk.c",
......@@ -25,6 +26,7 @@ ohos_shared_library("deviceinfo_ndk") {
}
ohos_ndk_library("libdeviceinfo_ndk") {
cflags = [ "-fstack-protector-all" ]
output_name = "deviceinfo_ndk"
ndk_description_file = "./libdeviceinfo.ndk.json"
min_compact_version = "1"
......
......@@ -16,7 +16,7 @@ import("//build/ohos.gni")
ohos_shared_library("rebootmodule") {
sources = [ "reboot.c" ]
cflags = [ "-fstack-protector-all" ]
include_dirs = [
".",
"..",
......@@ -45,6 +45,7 @@ ohos_source_set("libreboot_static") {
"reboot_misc.c",
"reboot_static.c",
]
cflags = [ "-fstack-protector-all" ]
include_dirs = [
".",
"..",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册