Turn off non-trivial optimizations so statics don't get all inlined on us. From: <> --- chronicle/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/chronicle/Makefile b/chronicle/Makefile index b4c75c0..5a260bf 100644 --- a/chronicle/Makefile +++ b/chronicle/Makefile @@ -40,7 +40,7 @@ TESTS_BIN = $(TESTS:.check=.bin) TESTS_DB = $(TESTS:.check=.db) TESTS_OK = $(TESTS:.check=.ok) -CFLAGS += -O2 -g -Wall +CFLAGS += -O0 -g -Wall CFLAGS += -D_GNU_SOURCE CFLAGS += -Ivalgrind/chronicle -Ibase -Iindexer -Iquery -I/usr/include/libelf