1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

Added '-ffast-math' to space optimised targets, to eliminate linker warnings and further reduce size.

This commit is contained in:
Michael Keller 2016-12-05 09:06:01 +13:00
parent 6ea054dcf3
commit 43b41d054e

View file

@ -770,7 +770,7 @@ OPTIMIZE = -Ofast
endif
LTO_BASE = -flto -fuse-linker-plugin
LTO_FLAGS = $(LTO_BASE) $(OPTIMIZE)
NON_RT_LTO_FLAGS = $(LTO_BASE) -Os
NON_RT_LTO_FLAGS = $(LTO_BASE) -Os -ffast-math
endif
DEBUG_FLAGS = -ggdb3 -DDEBUG