4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 08:43:31 +08:00

[BSP] add -nostartfiles in link flags of sam7x bsp

This commit is contained in:
Bernard Xiong 2017-11-01 20:58:21 +08:00
parent 8b2919aff1
commit 8f8827fab7

View File

@ -42,7 +42,7 @@ if PLATFORM == 'gcc':
DEVICE = ' -mcpu=arm7tdmi'
CFLAGS = DEVICE
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=sam7x_rom_gcc.map,-cref,-u,_start -T sam7x_rom.ld'
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=sam7x_rom_gcc.map,-cref,-u,_start -T sam7x_rom.ld -nostartfiles'
CPATH = ''
LPATH = ''