diff options
author | Christian Pointner <equinox@spreadspace.org> | 2016-06-14 22:41:57 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-06-14 22:41:57 +0200 |
commit | caff976a86659b8bd14d7f99e1dbf173cbcc47cc (patch) | |
tree | 2e46259b737408884f586434e4b51eca7500cd88 /defines.mk | |
parent | remove accidentially added LDFLAGS from usb-spi example (diff) |
added option for printf with float support
Diffstat (limited to 'defines.mk')
-rw-r--r-- | defines.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -268,3 +268,6 @@ endif ## Linker flags LDFLAGS = -mmcu=$(MCU) LDFLAGS += -Wl,--gc-sections +ifdef PRINTF_HAS_FLOAT +LDFLAGS += -Wl,-u,vfprintf -lprintf_flt -lm +endif |