提交 7e1796de 编写于 作者: Z zhangdengyu

fix: 解决使用uniproton内核编译构建失败的问题

Close: #I5Y1ZZ
Signed-off-by: Nzhangdengyu <zhangdengyu2@huawei.com>
Change-Id: I7d260599c1c249a11ef4d5983ee67bd8e21048b4
上级 95a49338
......@@ -26,7 +26,7 @@ config("libsec_public_config") {
if (defined(ohos_lite)) {
# When the kernel is liteos_m, use //kernel/liteos_m/kal/libsec/BUILD.gn to compile.
if (current_toolchain == "//build/toolchain/linux:clang_x64" ||
ohos_kernel_type == "liteos_a" || ohos_kernel_type == "linux") {
ohos_kernel_type != "liteos_m") {
lite_library("libsec_static") {
target_type = "static_library"
sources = libsec_sources
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册