GLES2RICE: Added LTO Optim back to Makefile
[mupen64plus-pandora.git] / source / gles2rice / projects / unix / Makefile
index 688f27c..0b8832c 100755 (executable)
@@ -122,7 +122,7 @@ ifeq ("$(CPU)","NONE")
 endif
 
 # base CFLAGS, LDLIBS, and LDFLAGS
-OPTFLAGS ?= -O3
+OPTFLAGS ?= -Ofast -ffast-math -flto -fuse-linker-plugin
 WARNFLAGS ?= -Wall
 CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I../../src
 CXXFLAGS += -fvisibility-inlines-hidden