From 8768f9246b038f20917da7a3d37c1150d815f024 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 22 Apr 2023 09:13:13 +0200 Subject: [PATCH] Clang workaround for valgrind checks https://www.reddit.com/r/C_Programming/comments/wau4t5/weird_error_when_trying_to_run_valgrind_possibly Signed-off-by: Joachim Wiberg --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3da146b..c74221d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -33,7 +33,7 @@ if ENABLE_LOGGER bin_PROGRAMS += logger endif -AM_CFLAGS = -W -Wall -Wextra -std=c99 +AM_CFLAGS = -W -Wall -Wextra -std=c99 -gdwarf-4 AM_CFLAGS += -Wno-unused-result -Wno-unused-parameter -fno-strict-aliasing AM_CPPFLAGS = -DSYSCONFDIR=\"@sysconfdir@\" -DRUNSTATEDIR=\"@runstatedir@\" AM_CPPFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE