Skip to content

Commit

Permalink
config.mk: update a bit debug cxxflags
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Jan 13, 2024
1 parent ac2b380 commit 84b0138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84b0138

Please sign in to comment.