[makefile] Remove ffast-math compiler flags (#2852)

This commit is contained in:
Freek van Tienen
2022-04-01 13:29:17 +02:00
committed by GitHub
parent 49327fe0a3
commit 75ee6ebcea
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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)
+1 -1
View File
@@ -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)