diff --git a/config.mk b/config.mk index 8d8b7dc..08f7231 100644 --- a/config.mk +++ b/config.mk @@ -11,7 +11,7 @@ BASHCOMPDIR = ${PREFIX}/share/bash-completion/completions # flags CPPFLAGS = -DVERSION=\"${VERSION}\" ifeq (${DEBUG}, 1) -CXXFLAGS = -ggdb3 -fno-omit-frame-pointer -fsanitize=address \ +CXXFLAGS = -std=c++11 -ggdb3 -fno-omit-frame-pointer -fsanitize=address \ -fsanitize=leak -fsanitize=undefined -fsanitize-recover=address LDFLAGS = $(shell pkg-config --libs libelf) ${CXXFLAGS} -lasan -lubsan else