Blame SOURCES/elinks-0.12pre6-recent-gcc-versions.patch

b07f02
From a73e1ecfbfbc42bfc4798a98a4afd90bd35eb7f0 Mon Sep 17 00:00:00 2001
b07f02
From: Kamil Dudka <kdudka@redhat.com>
b07f02
Date: Fri, 17 Feb 2017 16:21:48 +0100
b07f02
Subject: [PATCH] configure.in: recognize recent versions of GCC
b07f02
b07f02
---
b07f02
 configure.in | 2 +-
b07f02
 1 file changed, 1 insertion(+), 1 deletion(-)
b07f02
b07f02
diff --git a/configure.in b/configure.in
b07f02
index 6bcfeec..28c685d 100644
b07f02
--- a/configure.in
b07f02
+++ b/configure.in
b07f02
@@ -1588,7 +1588,7 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
b07f02
       # alternative is just too ugly. Thanks gcc guys!! ;)
b07f02
       CFLAGS="$CFLAGS -fno-strict-aliasing"
b07f02
       ;;
b07f02
-    4.*)
b07f02
+    4.*|5.*|6.*|7)
b07f02
       # Do not show warnings related to (char * | unsigned char *) type
b07f02
       # difference.
b07f02
       CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign"
b07f02
-- 
b07f02
2.11.1
b07f02