From 75ee6ebcea1f2ede533f3dee2a97b9b94c419e26 Mon Sep 17 00:00:00 2001 From: Freek van Tienen Date: Fri, 1 Apr 2022 13:29:17 +0200 Subject: [PATCH] [makefile] Remove ffast-math compiler flags (#2852) --- conf/Makefile.arm-linux | 2 +- conf/Makefile.linux | 4 ++-- conf/Makefile.stm32 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/Makefile.arm-linux b/conf/Makefile.arm-linux index 9fef12bc6c..753e26d15b 100644 --- a/conf/Makefile.arm-linux +++ b/conf/Makefile.arm-linux @@ -34,7 +34,7 @@ include $(PAPARAZZI_SRC)/conf/Makefile.arm-linux-toolchain ifdef HARD_FLOAT # e.g. for BBB or gumstix with armhf distribution -FLOAT_ABI ?= -mfloat-abi=hard -mfpu=neon -ffast-math +FLOAT_ABI ?= -mfloat-abi=hard -mfpu=neon else FLOAT_ABI ?= -mfloat-abi=softfp -mfpu=vfp endif diff --git a/conf/Makefile.linux b/conf/Makefile.linux index ede06c9d12..a2a6096c87 100644 --- a/conf/Makefile.linux +++ b/conf/Makefile.linux @@ -67,8 +67,8 @@ CXXFLAGS += $(CINCS) CXXFLAGS += -O$(OPT) -fPIC CXXFLAGS += $(DEBUG_FLAGS) CXXFLAGS += $(CXXSTANDARD) -CXXFLAGS += -pipe -fshow-column -ffast-math -CXXFLAGS += -g -ffunction-sections -fdata-sections +CXXFLAGS += -pipe -fshow-column +CXXFLAGS += -ffunction-sections -fdata-sections CXXFLAGS += -Wall -Wextra CXXFLAGS += $($(TARGET).CFLAGS) CXXFLAGS += $($(TARGET).CXXFLAGS) diff --git a/conf/Makefile.stm32 b/conf/Makefile.stm32 index cfa269fe60..4e63266de3 100644 --- a/conf/Makefile.stm32 +++ b/conf/Makefile.stm32 @@ -149,7 +149,7 @@ CFLAGS += -DPPRZLINK_UNALIGNED_ACCESS=1 # C++ only flags CXXFLAGS += $(CXXSTANDARD) CXXFLAGS += -I. -I./$(ARCH) -I../ext/libopencm3/include $(INCLUDES) -CXXFLAGS += -pipe -fshow-column -ffast-math +CXXFLAGS += -pipe -fshow-column CXXFLAGS += -ffunction-sections -fdata-sections CXXFLAGS += $($(TARGET).CXXFLAGS)