summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-10-18 16:31:28 -0700
committerMatthew Cline <zelgadis@sourceforge.net>2009-10-18 16:31:28 -0700
commitfb90268fca99690e2de68d1e5a50e621a4af6240 (patch)
tree911eb35aff8aa5f616e3c96722b90d233398d7a0 /crawl-ref/source/makefile
parentdee470bf63c25c3d99ea89e9d9f5979ab01d53bb (diff)
downloadcrawl-ref-fb90268fca99690e2de68d1e5a50e621a4af6240.tar.gz
crawl-ref-fb90268fca99690e2de68d1e5a50e621a4af6240.zip
makefile: EXTERNAL_FLAGS_L and EXTERNAL_FLAGS
Split makefile variable EXTERNAL_FLAGS into EXTERNAL_FLAGS_L and EXTERNAL_FLAGS, which apply to CFOTHERS_L and CFOTHERS respectively.
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index 0d30dddc9d..9b84816d92 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -29,7 +29,7 @@ GAME = crawl
#CFOPTIMIZE := -O2 -parallel
CFOPTIMIZE := -O2
-CFOTHERS := -fno-strict-aliasing -pipe
+CFOTHERS := -fno-strict-aliasing -pipe $(EXTERNAL_FLAGS)
CFOTHERS_L := -fsigned-char
CFWARN := -Wall
MAKEFLAGS := --no-print-directory
@@ -329,7 +329,7 @@ CFWARN_L += -Wno-array-bounds
endif
CFWARN_L += -Wno-parentheses -Wwrite-strings -Wshadow -pedantic -D_FORTIFY_SOURCE=0
-CFOTHERS_L = $(EXTERNAL_FLAGS) $(EXTRA_FLAGS) $(DEFINES) $(SDL_CFLAGS)
+CFOTHERS_L = $(EXTERNAL_FLAGS_L) $(EXTRA_FLAGS) $(DEFINES) $(SDL_CFLAGS)
ifndef NO_LUA_BINDINGS
CFOTHERS_L += -DCLUA_BINDINGS