Skip to content

Commit

Permalink
Include more debug info in debug builds
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Jan 29, 2024
1 parent dd84623 commit b7ca1ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ integration_test_LDFLAGS = $(AM_LDFLAGS) -no-install
integration_test_LDADD = libtest.la libdqlite.la

if DEBUG_ENABLED
AM_CFLAGS += -g
AM_CFLAGS += -g3
else
AM_CFLAGS += -O2
endif
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ PKG_CHECK_MODULES(RAFT, [raft >= 0.17.1], [], [])

CC_CHECK_FLAGS_APPEND([AM_CFLAGS],[CFLAGS],[ \
-std=c11 \
-g \
-g3 \
--mcet \
-fcf-protection \
--param=ssp-buffer-size=4 \
Expand Down

0 comments on commit b7ca1ce

Please sign in to comment.