From 00d0d733b58c58a67c2f7eb3e83d42a1c4d4e55b Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Thu, 24 Dec 2009 18:59:57 -0600 Subject: [PATCH] Makefile: disable function inlining when building for debugging. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 17b2efb..f1fc371 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ TOTAL := $(shell $(MAKE) CALCULATING=yes -n 2>/dev/null | sed -n 's/^.*Compiling endif ifeq ($(USE_DEBUG),yes) - CFLAGS := -pipe -ggdb -Wall -Wextra -O0 + CFLAGS := -pipe -ggdb -fno-inline -Wall -Wextra -O0 CXXFLAGS := -Wnon-virtual-dtor -Wno-missing-field-initializers -fno-rtti -fno-exceptions else CFLAGS := -pipe -O2 -DNDEBUG