From 7e695233dc13278fb31f1ea9773eada660edac04 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sun, 18 Oct 2009 04:01:13 -0700 Subject: gcc-gte.pl: use 1/0 instead of Yes/No Signed-off-by: Steven Noonan --- crawl-ref/source/makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/makefile') 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 -- cgit v1.2.3-54-g00ecf