GLES2GLIDE: Added LTO Optim back to Makefile (on the right file)
[mupen64plus-pandora.git] / 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