mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 01:53:48 +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
|
ifdef HARD_FLOAT
|
||||||
# e.g. for BBB or gumstix with armhf distribution
|
# 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
|
else
|
||||||
FLOAT_ABI ?= -mfloat-abi=softfp -mfpu=vfp
|
FLOAT_ABI ?= -mfloat-abi=softfp -mfpu=vfp
|
||||||
endif
|
endif
|
||||||
|
|||||||
+2
-2
@@ -67,8 +67,8 @@ CXXFLAGS += $(CINCS)
|
|||||||
CXXFLAGS += -O$(OPT) -fPIC
|
CXXFLAGS += -O$(OPT) -fPIC
|
||||||
CXXFLAGS += $(DEBUG_FLAGS)
|
CXXFLAGS += $(DEBUG_FLAGS)
|
||||||
CXXFLAGS += $(CXXSTANDARD)
|
CXXFLAGS += $(CXXSTANDARD)
|
||||||
CXXFLAGS += -pipe -fshow-column -ffast-math
|
CXXFLAGS += -pipe -fshow-column
|
||||||
CXXFLAGS += -g -ffunction-sections -fdata-sections
|
CXXFLAGS += -ffunction-sections -fdata-sections
|
||||||
CXXFLAGS += -Wall -Wextra
|
CXXFLAGS += -Wall -Wextra
|
||||||
CXXFLAGS += $($(TARGET).CFLAGS)
|
CXXFLAGS += $($(TARGET).CFLAGS)
|
||||||
CXXFLAGS += $($(TARGET).CXXFLAGS)
|
CXXFLAGS += $($(TARGET).CXXFLAGS)
|
||||||
|
|||||||
+1
-1
@@ -149,7 +149,7 @@ CFLAGS += -DPPRZLINK_UNALIGNED_ACCESS=1
|
|||||||
# C++ only flags
|
# C++ only flags
|
||||||
CXXFLAGS += $(CXXSTANDARD)
|
CXXFLAGS += $(CXXSTANDARD)
|
||||||
CXXFLAGS += -I. -I./$(ARCH) -I../ext/libopencm3/include $(INCLUDES)
|
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 += -ffunction-sections -fdata-sections
|
||||||
CXXFLAGS += $($(TARGET).CXXFLAGS)
|
CXXFLAGS += $($(TARGET).CXXFLAGS)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user