summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extension/ChangeLog6
-rwxr-xr-xextension/configure2
-rw-r--r--extension/configure.ac2
3 files changed, 8 insertions, 2 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog
index a07b667e..863fc1e8 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,9 @@
+2014-03-31 Arnold D. Robbins <arnold@skeeve.com>
+
+ * configure.ac: Remove -Wextra to avoid killing compilations
+ on older versions of gcc. Thanks to Antonio Diaz Diaz for
+ the report.
+
2014-03-28 Arnold D. Robbins <arnold@skeeve.com>
* configure.ac: Add AC_HEADER_TIME and AC_HEADER_DIRENT, and
diff --git a/extension/configure b/extension/configure
index 1b7b33d6..7f660287 100755
--- a/extension/configure
+++ b/extension/configure
@@ -14034,7 +14034,7 @@ pkgextensiondir='${libdir}/gawk'
if test "$GCC" = yes
then
- CFLAGS="$CFLAGS -Wall -Wextra"
+ CFLAGS="$CFLAGS -Wall" # Don't add -Wextra, hurts older gcc
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special development options" >&5
diff --git a/extension/configure.ac b/extension/configure.ac
index 7be50b34..3a0a60b9 100644
--- a/extension/configure.ac
+++ b/extension/configure.ac
@@ -51,7 +51,7 @@ AC_SUBST([pkgextensiondir], ['${libdir}/gawk'])
if test "$GCC" = yes
then
- CFLAGS="$CFLAGS -Wall -Wextra"
+ CFLAGS="$CFLAGS -Wall" # Don't add -Wextra, hurts older gcc
fi
AC_MSG_CHECKING([for special development options])