From e6bf28342a4c749b6106b3f148b34e84097a1aec Mon Sep 17 00:00:00 2001
From: ptitSeb <sebastien.chev@gmail.com>
Date: Fri, 1 Nov 2013 20:47:00 +0100
Subject: [PATCH] GLES11RICE: Added LTO Optim back to Makefile

---
 source/rice_gles/projects/unix/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/rice_gles/projects/unix/Makefile b/source/rice_gles/projects/unix/Makefile
index cbea814..50245aa 100755
--- a/source/rice_gles/projects/unix/Makefile
+++ b/source/rice_gles/projects/unix/Makefile
@@ -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
-- 
2.39.5