From 43484a201d9fad3b664fa6acb3f1499ce0be7fb4 Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Fri, 22 Apr 2022 01:39:44 -0400 Subject: [libc] 优化armcc armclang处理 (#5858) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/compilers/common/extension/fcntl/octal/SConscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'components') diff --git a/components/libc/compilers/common/extension/fcntl/octal/SConscript b/components/libc/compilers/common/extension/fcntl/octal/SConscript index 22d72dff05..7494b19410 100644 --- a/components/libc/compilers/common/extension/fcntl/octal/SConscript +++ b/components/libc/compilers/common/extension/fcntl/octal/SConscript @@ -6,8 +6,7 @@ cwd = GetCurrentDir() CPPPATH = [cwd] group = [] -if rtconfig.PLATFORM == 'armcc' or\ - rtconfig.PLATFORM == 'armclang' or\ +if rtconfig.PLATFORM in ['armcc', 'armclang'] or\ rtconfig.PLATFORM == 'iar' or\ rtconfig.CROSS_TOOL == 'msvc': group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH) -- cgit v1.3.1