mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
Makefile: switch to newlib-nano
This makes the binary considerably smaller (73852 text with gcc 4.7.3, 71620 text with gcc 4.9.0 from TNT). Build-tested only. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
parent
941b42a269
commit
900f872058
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -367,6 +367,8 @@ ASFLAGS = $(ARCH_FLAGS) \
|
|||
# XXX Map/crossref output?
|
||||
LDFLAGS = -lm \
|
||||
-nostartfiles \
|
||||
--specs=nano.specs \
|
||||
-lnosys \
|
||||
$(ARCH_FLAGS) \
|
||||
$(LTO_FLAGS) \
|
||||
$(DEBUG_FLAGS) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue