From b542aab09dd92397f8c1305ac656ef14a012b5f8 Mon Sep 17 00:00:00 2001 From: kenneth Date: Mon, 29 Nov 2021 19:07:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=80=89=E9=A1=B9-fno-short-enums?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 编译选项-fno-short-enums是liteos-m支持kconfig(https://gitee.com/openharmony/kernel_liteos_m/pulls/371)时从Liteos-a核引入的编译选项。添加该编译选项后会输出警告信息, 需要去掉该编译选项。 fix #I4JY32 Signed-off-by: kenneth --- BUILD.gn | 1 - 1 file changed, 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index fa0ac5dd..2855f8e8 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -195,7 +195,6 @@ config("misc_config") { "-fdata-sections", "-fno-exceptions", "-fno-omit-frame-pointer", - "-fno-short-enums", ] if (!defined(LOSCFG_COMPILER_CLANG_LLVM)) {