From ddfe90c164d183a2a34c18b89b14521f1478efaf Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Mon, 23 Jan 2017 01:02:54 +0100 Subject: [PATCH] Removed compiler flag -fsingle-precision-constant caused compilation errors --- Makefile | 2 +- VisualGDB/Amiberry/Amiberry.vcxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f061dc2c..30150044 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ LDFLAGS += -lpthread -lm -lz -lpng -lrt -lxml2 -lFLAC -lmpg123 -ldl LDFLAGS += -lSDL2_image -lSDL2_ttf -lguisan -L/opt/vc/lib -Lsrc/guisan ifndef DEBUG -MORE_CFLAGS += -Ofast -pipe -fsingle-precision-constant -fweb +MORE_CFLAGS += -Ofast -pipe -fweb else MORE_CFLAGS += -g -DDEBUG -Wl,--export-dynamic diff --git a/VisualGDB/Amiberry/Amiberry.vcxproj b/VisualGDB/Amiberry/Amiberry.vcxproj index a7824f41..73499592 100644 --- a/VisualGDB/Amiberry/Amiberry.vcxproj +++ b/VisualGDB/Amiberry/Amiberry.vcxproj @@ -61,7 +61,7 @@ GNUPP14 ../../src;../../src/include;../../src/osdep;../../src/threaddep;=/opt/vc/include;=/opt/vc/include/interface/vmcs_host/linux;=/opt/vc/include/interface/vcos/pthreads;=/usr/local/include/SDL2;=/usr/include/libxml2;%(ClCompile.AdditionalIncludeDirectories) NDEBUG=1;RELEASE=1;_REENTRANT;RASPBERRY;CAPSLOCK_DEBIAN_WORKAROUND;ARMV6T2;PICASSO96;USE_ARMNEON;CPU_arm;ARMV6_ASSEMBLY;PANDORA;WITH_INGAME_WARNING;USE_SDL;ROM_PATH_PREFIX=\"./\";DATA_PREFIX=\"./data/\";SAVE_PREFIX=\"./saves/\";GCCCONSTFUNC="__attribute__((const))";%(ClCompile.PreprocessorDefinitions) - -march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard -pipe -fsingle-precision-constant -fweb %(AdditionalOptions) + -march=armv8-a -mfpu=neon-fp-armv8 -mfloat-abi=hard -pipe -fweb %(AdditionalOptions) true true