diff options
| author | Bernard Xiong <[email protected]> | 2017-10-22 17:07:38 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-10-22 17:07:38 +0800 |
| commit | b4831fbde443eeb110955ae14d1a197f3f3837cf (patch) | |
| tree | 4177e224613bcead631336135c9c1651930cfc8c /components/libc | |
| parent | 7ea1d0c6722720bb611ad57948b1b755aa7a1d85 (diff) | |
[libc] disable minilibc under simulator
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/compilers/minilibc/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/minilibc/SConscript b/components/libc/compilers/minilibc/SConscript index da68881349..518d800571 100644 --- a/components/libc/compilers/minilibc/SConscript +++ b/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) |
