summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index ac34d07073..a31bf958e3 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -336,7 +336,7 @@ endif # MacOS
endif # TILES
CFWARN_L := -Wno-parentheses -Wwrite-strings -Wshadow -pedantic
-CFOTHERS_L = $(EXTRA_FLAGS) $(DEFINES) -DCLUA_BINDINGS $(SDL_CFLAGS)
+CFOTHERS_L = $(EXTERNAL_FLAGS) $(EXTRA_FLAGS) $(DEFINES) -DCLUA_BINDINGS $(SDL_CFLAGS)
#
# Figure out the build settings for this type of build
@@ -385,6 +385,7 @@ DEFINES += -DFULLDEBUG
endif
ifeq ($(DEBUG),y)
EXTRA_FLAGS += -ggdb
+DEFINES += -DDEBUG
endif
ifeq ($(WIZARD),y)
DEFINES += -DWIZARD