mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 16:43:32 +08:00
[libc] improve sconscript (#5789)
This commit is contained in:
parent
1aab3607af
commit
084bb1c956
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user