mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 20:13:40 +08:00
[libc] improve sconscript (#5789)
This commit is contained in:
parent
1aab3607af
commit
084bb1c956
@ -6,11 +6,11 @@ Import('rtconfig')
|
|||||||
src = []
|
src = []
|
||||||
cwd = GetCurrentDir()
|
cwd = GetCurrentDir()
|
||||||
group = []
|
group = []
|
||||||
LIBS = ['m'] # link libm
|
LIBS = []
|
||||||
CPPPATH = [cwd]
|
CPPPATH = [cwd]
|
||||||
|
|
||||||
if rtconfig.PLATFORM == 'gcc':
|
if rtconfig.PLATFORM == 'gcc':
|
||||||
LIBS += ['c'] # link libc
|
LIBS += ['c', 'm'] # link libc and libm
|
||||||
src += Glob('*.c')
|
src += Glob('*.c')
|
||||||
|
|
||||||
#report newlib version
|
#report newlib version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user