mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-10 06:59:54 +08:00
[makefile] Remove ffast-math compiler flags (#2852)
This commit is contained in:
@@ -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
@@ -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
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user