diff options
| author | Bernard Xiong <[email protected]> | 2016-04-24 19:59:48 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2016-04-24 19:59:48 +0800 |
| commit | fd7a65b4becb74f8e78802aeadbe908780d973f3 (patch) | |
| tree | 47bb42b9d70dd447721dfa37eef7239016f68bb2 /components/libc/SConscript | |
| parent | 255f8b7c3447b3adf06f1fb998d9861cde81558b (diff) | |
[LIBC] remove minilibc when compiling simulator under Linux
Diffstat (limited to 'components/libc/SConscript')
| -rw-r--r-- | components/libc/SConscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/SConscript b/components/libc/SConscript index 4ca00c5b86..4ed1dde123 100644 --- a/components/libc/SConscript +++ b/components/libc/SConscript @@ -14,7 +14,7 @@ if GetDepend('RT_USING_LIBC'): elif rtconfig.PLATFORM == 'iar': objs = objs + SConscript('dlib/SConscript') else: - if rtconfig.PLATFORM == 'gcc': + if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim': objs = objs + SConscript('minilibc/SConscript') Return('objs') |
