X-Git-Url: http://git.nguyen.vg/gitweb/?p=SXSI%2Flibbp.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=3effd673ad0ec3b0aa59741e255a2cc420cd3043;hp=23cd4f646f532886d2c28ed0457308ff1a6b9398;hb=5e701a7deb86b9c9ee81f2134b91e839f90b09b0;hpb=9614bef67d59eaa2413e2b06e5587c6caec57840 diff --git a/Makefile b/Makefile index 23cd4f6..3effd67 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,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 -flto endif @@ -24,7 +24,7 @@ endif INC_FLAGS=-I. CFLAGS= $(INC_FLAGS) $(OPT_FLAGS) CXXFLAGS= $(INC_FLAGS) $(OPT_FLAGS) -CC=gcc +CC=g++ OBJECTS_BP=bp.o bp-utils.o bp-darray.o bp-core.o