diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-13 03:33:44 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-13 06:23:13 -0700 |
commit | e7353ab11c9f0501a7b52788be416b2290108102 (patch) | |
tree | 529bae3abf08450f13d77c1719a0abfacec50f26 /crawl-ref/source/makefile | |
parent | fed87eedaab2e58d4dbd89d10765e26e882c416b (diff) | |
download | crawl-ref-e7353ab11c9f0501a7b52788be416b2290108102.tar.gz crawl-ref-e7353ab11c9f0501a7b52788be416b2290108102.zip |
makefile: move USE_ICC conditional to avoid CFWARN changes
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r-- | crawl-ref/source/makefile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index 527c991ecf..4f64151dea 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -212,17 +212,6 @@ GCC := gcc GXX := g++ endif -USE_ICC := n - -ifneq ($(USE_ICC),n) -GCC := icc -GXX := icpc -AR := xiar rcu -LIB += -lguide -CFWARN += -wd383,810,869,981,1418 -we14,193,304 -CFWARN_L := -endif - RLTILES = rltiles # @@ -353,10 +342,6 @@ endif # TILES CFWARN_L := -Wno-parentheses -Wwrite-strings -Wshadow -pedantic CFOTHERS_L = $(EXTERNAL_FLAGS) $(EXTRA_FLAGS) $(DEFINES) -DCLUA_BINDINGS $(SDL_CFLAGS) -ifneq ($(USE_ICC),n) -LIB += -lguide -lpthread -endif - # # Figure out the build settings for this type of build # @@ -476,9 +461,20 @@ else LIB += -l$(LIBCURS) endif +USE_ICC := n + +ifneq ($(USE_ICC),n) +GCC := icc +GXX := icpc +AR := xiar rcu +LIB += -lguide -lpthread +CFWARN := -wd383,810,869,981,1418 -we14,193,304 +CFWARN_L := +endif + CFLAGS := $(CFOPTIMIZE) $(CFOTHERS) $(CFWARN) CFLAGS_L := $(CFOPTIMIZE_L) $(CFWARN_L) $(INCLUDES_L) $(CFOTHERS_L) -YCFLAGS := -w +YCFLAGS := -w -DYYENABLE_NLS=0 -DYYLTYPE_IS_TRIVIAL=0 UTIL = util/ |