summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-03-18 17:16:16 -0700
committerKeith Packard <keithp@keithp.com>2019-03-18 17:16:16 -0700
commitefc2c093819b3ec2e5743126efb76d3a9c0ad231 (patch)
tree1709d74f662a1e371ab56249f7481f519f705392 /src
parenta2df970fca0e719e4b32e1642803590ff7bbd1ee (diff)
altos/stm32f4: Add -mfloat-abi=hard compile option
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/stm32f4/Makefile-stm32f4.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32f4/Makefile-stm32f4.defs b/src/stm32f4/Makefile-stm32f4.defs
index 1c87b5b0..9c2e870e 100644
--- a/src/stm32f4/Makefile-stm32f4.defs
+++ b/src/stm32f4/Makefile-stm32f4.defs
@@ -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)