From c5d4c27a55bf94ebe24dbcf119244af72f04030b Mon Sep 17 00:00:00 2001 From: Michael Uleysky Date: Mon, 14 Sep 2015 21:11:24 +1000 Subject: [PATCH] Enable Link-Time Optimisation --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index d2a23ad..c79be2b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ -CFLAGS=-O2 -g -std=gnu++11 -fvisibility=hidden -fpic -pthread -Wall -LDFLAGS=-fvisibility=hidden -Wl,--export-dynamic -fpic -pthread -Wall +CFLAGS=-O2 -g -std=gnu++11 -fvisibility=hidden -fpic -flto -pthread -Wall +LDFLAGS=-O2 -fvisibility=hidden -Wl,--export-dynamic -fpic -flto -pthread -Wall CC=g++