2009-05-10 15:31:44 -04:00
|
|
|
$OpenBSD: patch-configure,v 1.13 2009/05/10 19:31:44 naddy Exp $
|
|
|
|
--- configure.orig Tue May 5 02:41:18 2009
|
|
|
|
+++ configure Thu May 7 19:40:39 2009
|
|
|
|
@@ -20129,8 +20129,8 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
2009-02-15 13:09:29 -05:00
|
|
|
if test 0 = "0"; then
|
|
|
|
supported_build=yes
|
2009-03-04 15:59:52 -05:00
|
|
|
if test "x$GCC" = "xyes" ; then
|
|
|
|
- CFLAGS="$CFLAGS -g -O3 -funroll-loops "
|
|
|
|
- CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops "
|
|
|
|
+ : CFLAGS="$CFLAGS -g -O3 -funroll-loops "
|
|
|
|
+ : CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops "
|
|
|
|
fi
|
2007-11-27 15:30:19 -05:00
|
|
|
|
2009-02-15 13:09:29 -05:00
|
|
|
cat >>confdefs.h <<\_ACEOF
|
2009-05-10 15:31:44 -04:00
|
|
|
@@ -21526,7 +21526,7 @@ esac
|
2009-02-15 13:09:29 -05:00
|
|
|
|
|
|
|
if test "x$GCC" = "xyes" ; then
|
2009-05-10 15:31:44 -04:00
|
|
|
|
|
|
|
- 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"
|
|
|
|
+ : 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"
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:$LINENO: checking gcc version" >&5
|
|
|
|
$as_echo_n "checking gcc version... " >&6; }
|
|
|
|
@@ -21538,7 +21538,7 @@ $as_echo_n "checking gcc version... " >&6; }
|
|
|
|
{ $as_echo "$as_me:$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
|
2009-02-15 13:09:29 -05:00
|
|
|
fi
|
2008-12-02 10:29:07 -05:00
|
|
|
|