mirror of
https://github.com/openharmony/third_party_qrcodegen.git
synced 2026-07-01 09:10:48 -04:00
!18 Mini平台 GN + iccarm 编译构建
Merge pull request !18 from suwenxiang/master
This commit is contained in:
@@ -27,8 +27,16 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
sources = [ "cpp/qrcodegen.cpp" ]
|
||||
include_dirs = [ "//third_party/qrcodegen/cpp" ]
|
||||
cflags = [ "-Wall" ]
|
||||
cflags_cc = cflags
|
||||
if (board_toolchain_type != "iccarm") {
|
||||
cflags = [ "-Wall" ]
|
||||
cflags_cc = cflags
|
||||
} else {
|
||||
cflags = [
|
||||
"--diag_suppress",
|
||||
"Pe366",
|
||||
]
|
||||
cflags_cc = cflags
|
||||
}
|
||||
public_configs = [ ":libqrcodegen_config" ]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user