!306 iccarm编译问题修改

Merge pull request !306 from 何寅燊/master
This commit is contained in:
openharmony_ci
2022-08-02 15:16:57 +00:00
committed by Gitee
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ if (defined(ohos_lite)) {
]
cflags = [ "-DHILOG_ENABLE" ]
cflags += [ "-DAUTH_STORAGE_PATH = \"${deviceauth_storage_path}\"" ]
cflags += [ "-DAUTH_STORAGE_PATH=\"${deviceauth_storage_path}\"" ]
if (board_toolchain_type == "iccarm") {
cflags += [
"--diag_suppress",
+6 -5
View File
@@ -40,16 +40,17 @@ if (os_level == "mini" || os_level == "small") {
defines = [ "HILOG_ENABLE" ]
defines += deviceauth_defines
cflags = build_flags
cflags += [
"-DHICHAIN_THREAD_STACK_SIZE = ${deviceauth_hichain_thread_stack_size}",
]
if (board_toolchain_type == "iccarm") {
cflags += [
cflags = [
"--diag_suppress",
"Pe546,Pe223,Pe111,Pe188",
]
} else {
cflags = build_flags
}
cflags += [
"-DHICHAIN_THREAD_STACK_SIZE=${deviceauth_hichain_thread_stack_size}",
]
if (ohos_kernel_type == "linux" || ohos_kernel_type == "liteos_a") {
include_dirs +=
[ "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog" ]