From 3ce6865a802bdf540109dd37ce04c25408645b26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Tue, 29 May 2012 08:16:16 +0200 Subject: [PATCH] Add optimization flags to g++ --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 033d2db..9812eac 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,13 +2,13 @@ CPP=g++ POPCOUNT=$(shell grep -q popcnt /proc/cpuinfo && echo 1) ifeq ($(POPCOUNT), 1) - POPCOUNT_FLAG=-DHAS_NATIVE_POPCOUNT + POPCOUNT_FLAG=-DHAS_NATIVE_POPCOUNT -mpopcnt else #POPCOUNT_FLAG=-DHAS_POPCOUNT_TABLE POPCOUNT_FLAG= endif -CPPFLAGS=-O3 -Wall -DNDEBUG -fno-PIC $(POPCOUNT_FLAG) -flto +CPPFLAGS=-O3 -Wall -DNDEBUG -fno-PIC $(POPCOUNT_FLAG) -g -msse INCL=-I../includes/ -- 2.17.1