summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-04-22 01:39:44 -0400
committerGitHub <[email protected]>2022-04-22 13:39:44 +0800
commit43484a201d9fad3b664fa6acb3f1499ce0be7fb4 (patch)
tree83532f09a6f3f42bc9bb219139697f87d9c5f569 /components/libc
parent0624bbf0092cb96f9e477e742017be3d92aaa410 (diff)
[libc] 优化armcc armclang处理 (#5858)
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/compilers/common/extension/fcntl/octal/SConscript3
1 files changed, 1 insertions, 2 deletions
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)