X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=Makefile;h=f639648a9b49f7b9d4a798e539a598c72f35206e;hb=HEAD;hp=59e83a17a068b70f5970fbd7346de5871683c0aa;hpb=5382b5fde5add82ebd492e97a458a824503fbd8d;p=SXSI%2Flibbp.git diff --git a/Makefile b/Makefile index 59e83a1..f639648 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ POPCOUNT=$(shell grep -q popcnt /proc/cpuinfo && echo 1) ifeq ($(POPCOUNT), 1) - POPCOUNT_FLAG=-DHAS_NATIVE_POPCOUNT -mpopcnt -mtune=corei7 -march=corei7 + POPCOUNT_FLAG=-DHAS_NATIVE_POPCOUNT -mpopcnt else #POPCOUNT_FLAG=-DHAS_POPCOUNT_TABLE POPCOUNT_FLAG= @@ -16,7 +16,7 @@ endif ifeq ($(DEBUG), true) OPT_FLAGS=-O0 -g $(POPCOUNT_FLAG) -static else - OPT_FLAGS=-O3 $(POPCOUNT_FLAG) -static -flto + OPT_FLAGS=-O3 $(POPCOUNT_FLAG) -static endif