diff options
| author | Meco Man <[email protected]> | 2021-10-26 00:51:32 -0400 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-10-26 23:09:54 -0400 |
| commit | a9910a780edc43df6b64bcd13c37785a15ec3428 (patch) | |
| tree | 0402e433f252c5ded3472deb266616ee7a47e90f /components/libc/compilers/dlib/SConscript | |
| parent | 50bb6e33d13237f71812e81a6a13ba5ba0693c8f (diff) | |
[posix][libc] 优化libc中posix结构
Diffstat (limited to 'components/libc/compilers/dlib/SConscript')
| -rw-r--r-- | components/libc/compilers/dlib/SConscript | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/libc/compilers/dlib/SConscript b/components/libc/compilers/dlib/SConscript index 75a5812fab..3eee0e0184 100644 --- a/components/libc/compilers/dlib/SConscript +++ b/components/libc/compilers/dlib/SConscript @@ -11,7 +11,7 @@ CPPDEFINES = ['RT_USING_DLIBC'] if rtconfig.PLATFORM == 'iar': - if GetDepend('RT_USING_DFS'): + if GetDepend('RT_LIBC_USING_FILEIO'): from distutils.version import LooseVersion from iar import IARVersion @@ -20,7 +20,6 @@ if rtconfig.PLATFORM == 'iar': if LooseVersion(IARVersion()) < LooseVersion("8.20.1"): CPPDEFINES = CPPDEFINES + ['_DLIB_THREAD_SUPPORT'] - group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], - CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) + group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) Return('group') |
