diff --git a/components/libc/compilers/musl/SConscript b/components/libc/compilers/musl/SConscript index c9ede8d4f49fd5f7f1d153b43dfa548b2af640a1..5bf9f40e67449513d340e714099159d85314367d 100644 --- a/components/libc/compilers/musl/SConscript +++ b/components/libc/compilers/musl/SConscript @@ -10,7 +10,10 @@ if rtconfig.PLATFORM == 'gcc' and GetDepend('RT_USING_MUSL') and not GetDepend(' CPPDEFINES = ['__STDC_ISO_10646__=201206L', '_STDC_PREDEF_H'] LIBS = ['c', 'gcc'] - if os.path.exists(os.path.join(cwd, 'libc', 'lib', 'libc.a')): + # if os.path.exists(os.path.join(cwd, 'libc', 'lib', 'libc.a')): + # force to use libc in toolchains + + if False: CFLAGS = ' -nostdinc' CPPPATH = [cwd, cwd + '/libc/include'] LIBPATH = [cwd + '/libc/lib']