make: disable LTO as it discards the ISRs
This commit is contained in:
parent
ecc8911272
commit
8723a6e78d
2 changed files with 2 additions and 5 deletions
|
@ -2,9 +2,6 @@ PREFIX ?= arm-none-eabi-
|
|||
|
||||
LDSCRIPT = support/stm32vl-discovery.ld
|
||||
|
||||
CFLAGS += -Os
|
||||
LDFLAGS += -Os
|
||||
|
||||
CFLAGS += -fno-common --function-sections -fdata-sections
|
||||
LDFLAGS += -static -nostartfiles
|
||||
LDFLAGS += -Wl,--gc-sections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue