summaryrefslogtreecommitdiff
path: root/components/libc/cplusplus
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/cplusplus')
-rw-r--r--components/libc/cplusplus/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/cplusplus/SConscript b/components/libc/cplusplus/SConscript
index 325a27f65f..82983fa667 100644
--- a/components/libc/cplusplus/SConscript
+++ b/components/libc/cplusplus/SConscript
@@ -14,7 +14,7 @@ CPPPATH = [cwd]
if rtconfig.PLATFORM == 'armclang' and GetDepend('RT_USING_CPLUSPLUS11'):
src += Glob('cpp11/armclang/*.cpp') + Glob('cpp11/armclang/*.c')
CPPPATH += [cwd + '/cpp11/armclang']
-elif rtconfig.PLATFORM == 'gcc' and GetDepend('RT_USING_CPLUSPLUS11'):
+elif rtconfig.PLATFORM in ['gcc'] and GetDepend('RT_USING_CPLUSPLUS11'):
src += Glob('cpp11/gcc/*.cpp') + Glob('cpp11/gcc/*.c')
CPPPATH += [cwd + '/cpp11/gcc']