Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Startup Init Lite
提交
61330688
S
Startup Init Lite
项目概览
OpenHarmony
/
Startup Init Lite
1 年多 前同步成功
通知
3
Star
37
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Startup Init Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
61330688
编写于
1月 16, 2023
作者:
C
chengjinsong2
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
回退编译选项-fno-common
Signed-off-by:
N
chengjinsong2
<
chengjinsong2@huawei.com
>
上级
4fa08ecd
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
2 addition
and
13 deletion
+2
-13
interfaces/hals/utils/sys_param/BUILD.gn
interfaces/hals/utils/sys_param/BUILD.gn
+0
-1
interfaces/innerkits/BUILD.gn
interfaces/innerkits/BUILD.gn
+0
-1
services/modules/init_hook/BUILD.gn
services/modules/init_hook/BUILD.gn
+0
-1
services/param/base/BUILD.gn
services/param/base/BUILD.gn
+1
-4
services/param/linux/BUILD.gn
services/param/linux/BUILD.gn
+1
-5
watchdog/BUILD.gn
watchdog/BUILD.gn
+0
-1
未找到文件。
interfaces/hals/utils/sys_param/BUILD.gn
浏览文件 @
61330688
...
...
@@ -13,7 +13,6 @@
# limitations under the License.
static_library("hal_sys_param") {
cflags = [ "-fno-common" ]
sources = [ "hal_sys_param.c" ]
include_dirs = [ "//base/startup/init/interfaces/hals" ]
defines = [
...
...
interfaces/innerkits/BUILD.gn
浏览文件 @
61330688
...
...
@@ -122,7 +122,6 @@ if (defined(ohos_lite)) {
]
defines += [ "LITEOS_SUPPORT" ]
sources += syspara_sources
cflags = [ "-fno-common" ]
} else {
sources += [ "syscap/init_syscap.c" ]
}
...
...
services/modules/init_hook/BUILD.gn
浏览文件 @
61330688
...
...
@@ -34,7 +34,6 @@ if (defined(ohos_lite)) {
"_GNU_SOURCE",
"OHOS_LITE",
]
cflags = [ "-fno-common" ]
include_dirs = comm_include
sources = [ "param_hook.c" ]
public_configs = [ ":inithook_config" ]
...
...
services/param/base/BUILD.gn
浏览文件 @
61330688
...
...
@@ -41,10 +41,7 @@ base_include_dirs = [
if (defined(ohos_lite)) {
static_library("parameterbase") {
cflags = [
"-fPIC",
"-fno-common",
]
cflags = [ "-fPIC" ]
sources = comm_sources
sources += [
"//base/startup/init/services/log/init_commlog.c",
...
...
services/param/linux/BUILD.gn
浏览文件 @
61330688
...
...
@@ -77,7 +77,6 @@ if (defined(ohos_lite)) {
if (defined(boot_kernel_extended_cmdline)) {
defines += [ "BOOT_EXTENDED_CMDLINE=\"${boot_kernel_extended_cmdline}\"" ]
}
cflags = [ "-fno-common" ]
defines += [
"_GNU_SOURCE",
"__LINUX__",
...
...
@@ -96,10 +95,7 @@ if (defined(ohos_lite)) {
include_dirs = param_include_dirs
sources = param_client_sources
public_configs = [ ":exported_header_files" ]
cflags = [
"-fPIC",
"-fno-common",
]
cflags = [ "-fPIC" ]
defines = [
"_GNU_SOURCE",
"__LINUX__",
...
...
watchdog/BUILD.gn
浏览文件 @
61330688
...
...
@@ -17,7 +17,6 @@ if (defined(ohos_lite)) {
"//base/startup/init/services/log/init_commlog.c",
"//base/startup/init/watchdog/init_watchdog.c",
]
cflags = [ "-fno-common" ]
deps = [
"//base/startup/init/services/log:init_log",
"//third_party/bounds_checking_function:libsec_static",
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录