mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 03:57:09 +08:00
[BSP] Add '-nostartfiles' to link flags.
This commit is contained in:
parent
c0b2a1a4b4
commit
9463fd9ae8
@ -37,7 +37,7 @@ if PLATFORM == 'gcc':
|
|||||||
CFLAGS = DEVICE + ' -Wall'
|
CFLAGS = DEVICE + ' -Wall'
|
||||||
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -D__ASSEMBLY__'
|
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -D__ASSEMBLY__'
|
||||||
LINK_SCRIPT = 'link.lds'
|
LINK_SCRIPT = 'link.lds'
|
||||||
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors'+\
|
LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors'+\
|
||||||
' -T %s' % LINK_SCRIPT
|
' -T %s' % LINK_SCRIPT
|
||||||
|
|
||||||
CPATH = ''
|
CPATH = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user