Skip to content

Commit

Permalink
Revert adding -fsanitize=address
Browse files Browse the repository at this point in the history
Fix make bug, see test case below
So we can only add -Og, not -fsanitize=address
Due to the current ordering of eggdrop CFLAGS/DEBUGFLAGS, it is a good idea to remove it anyway, because currently -fsanitize=address is appended after USER CFLAGS.
  • Loading branch information
michaelortmann authored Aug 7, 2024
1 parent 2f6446b commit cd91671
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,6 @@ AC_DEFUN([EGG_DEBUG_DEFAULTS],
debug_cflags_debug="-g3 -DDEBUG"
AX_CHECK_COMPILE_FLAG([-Og], [debug_cflags_debug="-Og $debug_cflags_debug"])
AX_CHECK_COMPILE_FLAG([-fsanitize=address], [debug_cflags_debug="$debug_cflags_debug -fsanitize=address"])
debug_cflags_debug_assert="-DDEBUG_ASSERT"
debug_cflags_debug_mem="-DDEBUG_MEM"
debug_cflags_debug_dns="-DDEBUG_DNS"
Expand Down

0 comments on commit cd91671

Please sign in to comment.