Makefile: disable function inlining when building for debugging.

pull/3/head
Jonathan Moore Liles 2009-12-24 18:59:57 -06:00
parent 48698780d9
commit 00d0d733b5
1 changed files with 1 additions and 1 deletions

View File

@ -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