eb640f2
From 54f8e4ac4e0bdf7622909c4cdf5768bebe72460c Mon Sep 17 00:00:00 2001
eb640f2
From: =?UTF-8?q?Rapha=C3=ABl=20Droz?= <raphael.droz+floss@gmail.com>
eb640f2
Date: Sun, 12 Jun 2016 23:14:12 -0300
eb640f2
Subject: [PATCH 3/3] build: fix compilation when used with GCC -std=gnu99 or
eb640f2
 -std=gnu11 (default in GCC 5.0) * derived from patch #6 * fix Debian bug
eb640f2
 #777764
eb640f2
eb640f2
---
eb640f2
 configure    | 2 +-
eb640f2
 configure.ac | 2 +-
eb640f2
 2 files changed, 2 insertions(+), 2 deletions(-)
eb640f2
eb640f2
diff --git a/configure b/configure
eb640f2
index b09897b..86016ed 100755
eb640f2
--- a/configure
eb640f2
+++ b/configure
eb640f2
@@ -8431,7 +8431,7 @@ if test x$debug = xtrue; then
eb640f2
 fi
eb640f2
 
eb640f2
 if test x$GCC = xyes; then
eb640f2
-	CFLAGS="-Wall $CFLAGS"
eb640f2
+	CFLAGS="-Wall -fgnu89-inline $CFLAGS"
eb640f2
 fi
eb640f2
 
eb640f2
 ac_config_files="$ac_config_files Makefile abook.spec po/Makefile.in"
eb640f2
diff --git a/configure.ac b/configure.ac
eb640f2
index 5a9ae3b..bcb0a58 100644
eb640f2
--- a/configure.ac
eb640f2
+++ b/configure.ac
eb640f2
@@ -175,7 +175,7 @@ if test x$debug = xtrue; then
eb640f2
 fi
eb640f2
 
eb640f2
 if test x$GCC = xyes; then
eb640f2
-	CFLAGS="-Wall $CFLAGS"
eb640f2
+	CFLAGS="-Wall -fgnu89-inline $CFLAGS"
eb640f2
 fi
eb640f2
 
eb640f2
 AC_CONFIG_FILES([Makefile abook.spec po/Makefile.in])
eb640f2
-- 
eb640f2
2.13.5
eb640f2