summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-24 18:15:20 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-24 20:56:32 -0700
commitdb8d7cf3b53119a5789c73b7f1944bbe0ab43cb9 (patch)
tree59827ddd2e5baaa528b0345aab2adfb187b60a2d /crawl-ref/source/makefile
parent0c638891c7fb76a32f7bc56a82c69dc47f56adce (diff)
downloadcrawl-ref-db8d7cf3b53119a5789c73b7f1944bbe0ab43cb9.tar.gz
crawl-ref-db8d7cf3b53119a5789c73b7f1944bbe0ab43cb9.zip
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 <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile2
1 files changed, 1 insertions, 1 deletions
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