Remove dangerous compilation flag on the Pi platforms. (#206)

This commit is contained in:
Manuel Alfayate Corchete 2021-10-26 23:17:55 +02:00 committed by GitHub
parent 9ae0cdfb36
commit 2a409acacd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ ifneq (,$(findstring unix,$(platform)))
# Raspberry Pi
ifneq (,$(findstring rpi,$(platform)))
CFLAGS += -fomit-frame-pointer -ffast-math
CFLAGS += -fomit-frame-pointer
CXXFLAGS += $(CFLAGS)
ifneq (,$(findstring rpi1,$(platform)))
CFLAGS += -march=armv6j -mfpu=vfp -mfloat-abi=hard -marm