GLES11RICE: Added LTO Optim back to Makefile
authorptitSeb <sebastien.chev@gmail.com>
Fri, 1 Nov 2013 19:47:00 +0000 (20:47 +0100)
committerptitSeb <sebastien.chev@gmail.com>
Fri, 1 Nov 2013 19:47:00 +0000 (20:47 +0100)
source/rice_gles/projects/unix/Makefile

index cbea814..50245aa 100755 (executable)
@@ -124,7 +124,7 @@ ifeq ("$(CPU)","NONE")
 endif
 
 # base CFLAGS, LDLIBS, and LDFLAGS
-OPTFLAGS ?= -O3
+OPTFLAGS ?= -O3 -flto -fuse-linker-plugin
 WARNFLAGS ?= -Wall
 CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I../../src
 CXXFLAGS += -fvisibility-inlines-hidden