aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile11
1 files changed, 0 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 8281d56..0533da1 100644
--- a/Makefile
+++ b/Makefile
@@ -15,17 +15,6 @@ ifneq ($(GCC_MAJOR),2)
CFLAGS+=-fno-strict-aliasing
ifneq ($(GCC_MAJOR),3)
CFLAGS+=-Wno-pointer-sign -Wno-sign-compare
-
-# add -Wno-unused-result only on gcc >= 4.4
-ifeq ($(GCC_MAJOR),4)
-GCCGREATERTHEN44 := $(shell expr `$(CC) -dumpversion | cut -f2 -d.` \>= 4)
-else
-GCCGREATERTHEN44 := 1
-endif
-ifeq ($(GCCGREATERTHEN44),1)
-CFLAGS+=-Wno-unused-result
-endif
-
endif
endif