summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-18 04:01:13 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-18 04:40:41 -0700
commit7e695233dc13278fb31f1ea9773eada660edac04 (patch)
tree2fdde5fc601b150b83fbae035e3edad032778c9c /crawl-ref/source/makefile
parent0a32c9f82392db7fe510c3c09ead69076aba2ae6 (diff)
downloadcrawl-ref-7e695233dc13278fb31f1ea9773eada660edac04.tar.gz
crawl-ref-7e695233dc13278fb31f1ea9773eada660edac04.zip
gcc-gte.pl: use 1/0 instead of Yes/No
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index 461e9bd05c..449980eb20 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -198,7 +198,6 @@ AR := $(CROSSHOST)-ar
RANLIB := $(CROSSHOST)-ranlib
endif
GCC_GTE_4_0_0 := $(shell util/gcc-gte.pl $(GCC) 4.0.0)
-GCC_GTE_4_2_0 := $(shell util/gcc-gte.pl $(GCC) 4.2.0)
GCC_GTE_4_3_0 := $(shell util/gcc-gte.pl $(GCC) 4.3.0)
# Define this to automatically generate code optimized for your machine
@@ -326,7 +325,7 @@ INCLUDES_L += $(PNG_INCLUDE) $(FREETYPE_INCLUDE) $(SDL_INCLUDE)
endif # TILES
-ifeq ($(GCC_GTE_4_3_0),Yes)
+ifeq ($(GCC_GTE_4_3_0),1)
CFWARN_L += -Wno-array-bounds
endif
@@ -388,7 +387,7 @@ endif
# Cygwin has a panic attack if we do this...
ifndef NO_OPTIMIZE
-ifneq ($(GCC_GTE_4_0_0),No)
+ifneq ($(GCC_GTE_4_0_0),0)
CFWARN_L += -Wuninitialized
else
CFWARN_L += -Wno-uninitialized