naddy 8fe4fcf222 Update to 2.71 for numerous bug fixes and small changes.
Includes work by dcoppa@ originally for 2.61.  ok brad@, dcoppa@
2012-09-30 19:53:09 +00:00

37 lines
1.7 KiB
Plaintext

$OpenBSD: patch-configure,v 1.29 2012/09/30 19:53:10 naddy Exp $
--- configure.orig Tue Jul 24 03:59:24 2012
+++ configure Wed Aug 29 14:06:00 2012
@@ -11769,8 +11769,8 @@ if test 0 = "0"; then
else
supported_build=no
if test "x$GCC" = "xyes" ; then
- CFLAGS="$CFLAGS -g -O0"
- CXXFLAGS="$CXXFLAGS -g -O0"
+ : CFLAGS="$CFLAGS -g -O0"
+ : CXXFLAGS="$CXXFLAGS -g -O0"
fi
fi
if test "x$supported_build" = "xno"; then
@@ -16176,7 +16176,7 @@ esac
if test "x$GCC" = "xyes" ; then
- CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Winline -Wfloat-equal"
+ : CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wunused-parameter -Wwrite-strings -Winline -Wfloat-equal"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
$as_echo_n "checking gcc version... " >&6; }
@@ -16188,10 +16188,10 @@ $as_echo_n "checking gcc version... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VERSION" >&5
$as_echo "$GCC_VERSION" >&6; }
if test $GCC_VERSION_NUM -ge 304; then
- CFLAGS="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self"
+ : CFLAGS="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self"
fi
if test $GCC_VERSION_NUM -ge 403; then
- CFLAGS="$CFLAGS -Wvariadic-macros"
+ : CFLAGS="$CFLAGS -Wvariadic-macros"
fi
fi