From 635d9560a5db9d65c06c6b2cccab1324f41df317 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 1 Nov 2013 20:47:21 +0100 Subject: [PATCH] CORE: Added LTO Optim back to Makefile --- source/mupen64plus-core/projects/unix/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/mupen64plus-core/projects/unix/Makefile b/source/mupen64plus-core/projects/unix/Makefile index 3fc82e3..6776f35 100755 --- a/source/mupen64plus-core/projects/unix/Makefile +++ b/source/mupen64plus-core/projects/unix/Makefile @@ -96,7 +96,7 @@ ifneq ("$(filter arm%,$(HOST_CPU))","") PIC ?= 1 OSD ?= 0 NEW_DYNAREC := 1 - CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fsigned-char + CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fsigned-char -ffast-math $(warning Architecture "$(HOST_CPU)" not officially supported.') endif endif @@ -105,8 +105,7 @@ ifeq ("$(CPU)","NONE") endif # base CFLAGS, LDLIBS, and LDFLAGS -OPTFLAGS ?= -O3 -#-flto -fuse-linker-plugin +OPTFLAGS ?= -O3 -flto -fuse-linker-plugin WARNFLAGS ?= -Wall CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I../../src -DM64P_PARALLEL CXXFLAGS += -fvisibility-inlines-hidden -- 2.39.5