diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-04-08 11:15:27 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-08 23:15:27 +0800 |
| commit | 084bb1c95626f7ab14984a7fde0e56a3290659c4 (patch) | |
| tree | fcd5c0e0007fa2b78ae5dcd989a727906b2c2f5c /components | |
| parent | 1aab3607af39578fb2d79e0dd50d5e6810bae4c7 (diff) | |
[libc] improve sconscript (#5789)
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/compilers/newlib/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/newlib/SConscript b/components/libc/compilers/newlib/SConscript index 8076a73727..c041a4e944 100644 --- a/components/libc/compilers/newlib/SConscript +++ b/components/libc/compilers/newlib/SConscript @@ -6,11 +6,11 @@ Import('rtconfig') src = [] cwd = GetCurrentDir() group = [] -LIBS = ['m'] # link libm +LIBS = [] CPPPATH = [cwd] if rtconfig.PLATFORM == 'gcc': - LIBS += ['c'] # link libc + LIBS += ['c', 'm'] # link libc and libm src += Glob('*.c') #report newlib version |
