GLES2GLIDE: Added LTO Optim back to Makefile (on the right file)
authorptitSeb <sebastien.chev@gmail.com>
Fri, 1 Nov 2013 19:45:51 +0000 (20:45 +0100)
committerptitSeb <sebastien.chev@gmail.com>
Fri, 1 Nov 2013 19:45:51 +0000 (20:45 +0100)
source/gles2glide64/projects/unix/Makefile

index f813c02..c509829 100755 (executable)
@@ -127,7 +127,7 @@ ifeq ("$(CPU)","NONE")
 endif
 
 # base CFLAGS, LDLIBS, and LDFLAGS
-OPTFLAGS ?= -Ofast -ffast-math
+OPTFLAGS ?= -Ofast -ffast-math -flto -fuse-linker-plugin
 WARNFLAGS ?= -Wall
 CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I../../src -I../../src/Glitch64/inc -DGCC
 CXXFLAGS += -fvisibility-inlines-hidden -std=gnu++0x