From b817c490ba8a7baa05d9d3f5ca4097d43be41429 Mon Sep 17 00:00:00 2001 From: arvinzzz Date: Thu, 22 Dec 2022 11:27:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dmisc=5Fconfig=E4=B8=AD?= =?UTF-8?q?defines=E6=9C=AA=E5=88=9D=E5=A7=8B=E5=8C=96=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: arvinzzz Change-Id: I4eecfc1af2b0cdc39922a8ce299eb8ab6b7c6e8c --- BUILD.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 801cfea1..b5efe743 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -91,8 +91,9 @@ config("dialect_config") { } config("misc_config") { + defines = [] if (!defined(LOSCFG_COMPILER_ICCARM)) { - defines = [ "__LITEOS__" ] + defines += [ "__LITEOS__" ] defines += [ "__LITEOS_M__" ] } if (!defined(LOSCFG_DEBUG_VERSION)) {