Skip to content

Commit

Permalink
Merge pull request #554 from cole-miller/g3
Browse files Browse the repository at this point in the history
Include more debug info in debug builds
  • Loading branch information
cole-miller authored Jan 31, 2024
2 parents dd84623 + b7ca1ce commit 3935205
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 3935205

Please sign in to comment.