diff --git a/makefile b/makefile index aab6602..4c81c7c 100644 --- a/makefile +++ b/makefile @@ -12,6 +12,8 @@ CXX ?= g++ #CXX=clang++ DDEBUG=-DNDEBUG -s +#DDEBUG=-g + MARCH=-march=native #MARCH=-march=broadwell ifeq ($(AVX2),1) @@ -84,7 +86,7 @@ LDFLAGS += -ldl endif endif -CFLAGS+=-w -Wall -std=gnu99 -DNDEBUG -DUSE_THREADS -fstrict-aliasing -Iext -Iext/lz4/lib -Iext/simdcomp/include -Iext/MaskedVByte/include -Iext/LittleIntPacker/include -Iext/streamvbyte/include $(DEFS) +CFLAGS+=$(DDEBUG) -w -Wall -std=gnu99 -DNDEBUG -DUSE_THREADS -fstrict-aliasing -Iext -Iext/lz4/lib -Iext/simdcomp/include -Iext/MaskedVByte/include -Iext/LittleIntPacker/include -Iext/streamvbyte/include $(DEFS) CXXFLAGS+=$(DDEBUG) $(MARCH) -std=gnu++0x -w -fpermissive -Wall -fno-rtti $(DEFS) -Iext/FastPFor/headers all: icbench idxcr idxqry idxseg