altos/stm32f4: Add -mfloat-abi=hard compile option
authorKeith Packard <keithp@keithp.com>
Tue, 19 Mar 2019 00:16:16 +0000 (17:16 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 19 Mar 2019 00:16:16 +0000 (17:16 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm32f4/Makefile-stm32f4.defs

index 1c87b5b..9c2e870 100644 (file)
@@ -9,5 +9,5 @@ vpath % $(TOPDIR)/stm32f4:$(AO_VPATH)
 CC=$(ARM_CC)
 LIBS=-L$(NEWLIB_NANO)/arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard -lc -lm -lgcc
 
-STM32F4_CFLAGS=-mlittle-endian -mcpu=cortex-m4 -mthumb \
+STM32F4_CFLAGS=-mlittle-endian -mcpu=cortex-m4 -mthumb -mfloat-abi=hard \
        -I$(TOPDIR)/stm32f4 $(AO_CFLAGS) $(NEWLIB_CFLAGS)