mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
Added '-ffast-math' to space optimised targets, to eliminate linker warnings and further reduce size.
This commit is contained in:
parent
6ea054dcf3
commit
43b41d054e
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue