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 <troglobit@gmail.com>
This commit is contained in:
parent
5c33df4ca0
commit
8768f9246b
@ -33,7 +33,7 @@ if ENABLE_LOGGER
|
|||||||
bin_PROGRAMS += logger
|
bin_PROGRAMS += logger
|
||||||
endif
|
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_CFLAGS += -Wno-unused-result -Wno-unused-parameter -fno-strict-aliasing
|
||||||
AM_CPPFLAGS = -DSYSCONFDIR=\"@sysconfdir@\" -DRUNSTATEDIR=\"@runstatedir@\"
|
AM_CPPFLAGS = -DSYSCONFDIR=\"@sysconfdir@\" -DRUNSTATEDIR=\"@runstatedir@\"
|
||||||
AM_CPPFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE
|
AM_CPPFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE
|
||||||
|
Loading…
Reference in New Issue
Block a user