From db8d7cf3b53119a5789c73b7f1944bbe0ab43cb9 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 24 Oct 2009 18:15:20 -0700 Subject: makefile: move '-g' option to CFOTHERS, making it a global flag Otherwise, contributing libraries are built without the '-ggdb' flag, but are still built with '-O0'. Which really doesn't help at all. Signed-off-by: Steven Noonan --- crawl-ref/source/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/makefile') diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index 63bedc1125..9f1e2361fc 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -368,7 +368,7 @@ ifdef FULLDEBUG DEFINES += -DFULLDEBUG endif ifdef DEBUG -EXTRA_FLAGS += -ggdb +CFOTHERS := -ggdb $(CFOTHERS) DEFINES += -DDEBUG endif ifdef WIZARD -- cgit v1.2.3-54-g00ecf