summaryrefslogtreecommitdiff
path: root/hw/bsp/fomu
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-11-20 16:06:40 +0700
committerhathach <[email protected]>2019-11-20 16:06:40 +0700
commitf638594536643a69200ddca60fe5138447655fbb (patch)
treecb395067ca5ddf37cbd8e25c133ebb3efdc6e11c /hw/bsp/fomu
parent1aa3f085cb0dd2c147e0376f69e4b92f208a14c6 (diff)
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).
Diffstat (limited to 'hw/bsp/fomu')
-rw-r--r--hw/bsp/fomu/board.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/bsp/fomu/board.mk b/hw/bsp/fomu/board.mk
index cdcd63b28..4e8101b7f 100644
--- a/hw/bsp/fomu/board.mk
+++ b/hw/bsp/fomu/board.mk
@@ -1,4 +1,5 @@
CFLAGS += \
+ -flto \
-march=rv32i \
-mabi=ilp32 \
-nostdlib \