浏览代码

[libc] disable minilibc under simulator

Bernard Xiong 7 年之前
父节点
当前提交
b4831fbde4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      components/libc/compilers/minilibc/SConscript

+ 1 - 1
components/libc/compilers/minilibc/SConscript

@@ -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)