diff options
Diffstat (limited to 'components/libc/compilers/gcc/newlib/SConscript')
| -rw-r--r-- | components/libc/compilers/gcc/newlib/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/gcc/newlib/SConscript b/components/libc/compilers/gcc/newlib/SConscript index 58672a0255..7ab0dd046b 100644 --- a/components/libc/compilers/gcc/newlib/SConscript +++ b/components/libc/compilers/gcc/newlib/SConscript @@ -7,7 +7,7 @@ group = [] LIBS = ['m'] # link libm CPPPATH = [cwd] -if rtconfig.PLATFORM == 'gcc': +if rtconfig.PLATFORM == 'gcc' or rtconfig.PLATFORM == 'clang': if GetDepend('RT_USING_LIBC'): LIBS += ['c'] # link libc src += Glob('*.c') |
