mirror of
https://gitee.com/openharmony/third_party_qrcodegen
synced 2024-11-22 23:00:10 +00:00
Description: Fix undefined board_chaintool_type resulting in compilation error
IssueNo: https://gitee.com/openharmony/third_party_cJSON/issues/I5ODQ6 Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: suwenxiang <suwenxiang@huawei.com>
This commit is contained in:
parent
c20e17e4fd
commit
11f1426411
8
BUILD.gn
8
BUILD.gn
@ -27,15 +27,15 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
sources = [ "cpp/qrcodegen.cpp" ]
|
||||
include_dirs = [ "//third_party/qrcodegen/cpp" ]
|
||||
if (board_toolchain_type != "iccarm") {
|
||||
cflags = [ "-Wall" ]
|
||||
cflags_cc = cflags
|
||||
} else {
|
||||
if (defined(board_toolchain_type) && board_toolchain_type == "iccarm") {
|
||||
cflags = [
|
||||
"--diag_suppress",
|
||||
"Pe366",
|
||||
]
|
||||
cflags_cc = cflags
|
||||
} else {
|
||||
cflags = [ "-Wall" ]
|
||||
cflags_cc = cflags
|
||||
}
|
||||
public_configs = [ ":libqrcodegen_config" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user