summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/nogcc/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/compilers/common/nogcc/SConscript')
-rw-r--r--components/libc/compilers/common/nogcc/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/common/nogcc/SConscript b/components/libc/compilers/common/nogcc/SConscript
index c766c8f82d..b144f1b3b4 100644
--- a/components/libc/compilers/common/nogcc/SConscript
+++ b/components/libc/compilers/common/nogcc/SConscript
@@ -10,6 +10,6 @@ group = []
if GetDepend('RT_USING_LIBC'):
src += Glob('*.c')
-if rtconfig.PLATFORM != 'gcc' or rtconfig.ARCH == 'sim':
+if (rtconfig.PLATFORM != 'gcc' and rtconfig.PLATFORM != 'clang') or rtconfig.ARCH == 'sim':
group = DefineGroup('libc', src, depend = [], CPPPATH = CPPPATH)
Return('group')