From d7838f97284adcef629783488f7ec78103b26258 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Thu, 1 Mar 2012 14:19:21 +0100 Subject: [PATCH] Allow gcc link-time optimizations. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 910eb1d..03d3fdb 100644 --- a/Makefile +++ b/Makefile @@ -8,9 +8,9 @@ else endif ifeq ($(DEBUG), true) - OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -fno-PIC -static + OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -static else - OPT_FLAGS=-O4 $(POPCOUNT_FLAG) -fno-PIC -static + OPT_FLAGS=-O4 $(POPCOUNT_FLAG) -static endif CXXFLAGS=-std=c++0x $(INC_FLAGS) $(OPT_FLAGS) -- 2.17.1