From: ptitSeb Date: Fri, 1 Nov 2013 19:47:21 +0000 (+0100) Subject: CORE: Added LTO Optim back to Makefile X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=635d9560a5db9d65c06c6b2cccab1324f41df317;p=mupen64plus-pandora.git CORE: Added LTO Optim back to Makefile --- 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