[libc] disable minilibc under simulator

This commit is contained in:
Bernard Xiong 2017-10-22 17:07:38 +08:00
parent 7ea1d0c672
commit b4831fbde4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ group = []
CPPPATH = [cwd]
CPPDEFINES = ['RT_USING_MINILIBC']
if rtconfig.PLATFORM == 'gcc' and not GetDepend('RT_USING_LIBC'):
if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim' and not GetDepend('RT_USING_LIBC'):
group = DefineGroup('libc', src, depend = [''],
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)