summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/libc/compilers/common/extension/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/common/extension/SConscript b/components/libc/compilers/common/extension/SConscript
index 75bb23d18e..58e43dd62e 100644
--- a/components/libc/compilers/common/extension/SConscript
+++ b/components/libc/compilers/common/extension/SConscript
@@ -9,7 +9,7 @@ group = []
src += Glob('*.c')
-if rtconfig.PLATFORM != 'gcc' and rtconfig.PLATFORM != 'llvm-arm':
+if rtconfig.PLATFORM not in ['gcc', 'llvm-arm']:
group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH)
list = os.listdir(cwd)