move -flto to board.mk
current board that doesn work with flto is spresense and mimxrt10xx (due to xip image_vector_table is optimized out).
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
CFLAGS += \
|
||||
-flto \
|
||||
-march=rv32i \
|
||||
-mabi=ilp32 \
|
||||
-nostdlib \
|
||||
|
||||
Reference in New Issue
Block a user