From b7ca1ce430de3e84ff8c7555b87a1ab17837dd2d Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Mon, 29 Jan 2024 14:39:08 -0500 Subject: [PATCH] Include more debug info in debug builds Signed-off-by: Cole Miller --- Makefile.am | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index eb47ea9c3..8c8cb2581 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/configure.ac b/configure.ac index 5a10e0ea9..6ebea422a 100644 --- a/configure.ac +++ b/configure.ac @@ -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 \