|
|
@@ -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']
|