From 9723ad42b97357bb98070cc73b40895cabc401ec Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Fri, 4 Sep 2015 04:14:03 +0200
Subject: [PATCH] build: Ignore warnings also with gcc 5.x

---
 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.in b/configure.in
index d584d4c..099e941 100644
--- a/configure.in
+++ b/configure.in
@@ -1577,7 +1577,7 @@ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
       # alternative is just too ugly. Thanks gcc guys!! ;)
       CFLAGS="$CFLAGS -fno-strict-aliasing"
       ;;
-    4.*)
+    4.*|5.*)
       # Do not show warnings related to (char * | unsigned char *) type
       # difference.
       CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign"
-- 
2.5.1

