2010-11-23 13:52:40 -05:00
|
|
|
$OpenBSD: patch-configure,v 1.23 2010/11/23 18:52:40 naddy Exp $
|
|
|
|
--- configure.orig Sun Nov 14 17:08:06 2010
|
|
|
|
+++ configure Fri Nov 19 19:12:34 2010
|
|
|
|
@@ -10895,8 +10895,8 @@ if test 0 = "0"; then
|
2010-10-21 17:52:51 -04:00
|
|
|
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
|
2010-11-23 13:52:40 -05:00
|
|
|
@@ -15424,7 +15424,7 @@ esac
|
2010-10-21 17:52:51 -04:00
|
|
|
|
|
|
|
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 -Waggregate-return -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 -Waggregate-return -Winline -Wfloat-equal"
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
|
|
|
|
$as_echo_n "checking gcc version... " >&6; }
|
2010-11-23 13:52:40 -05:00
|
|
|
@@ -15436,10 +15436,10 @@ $as_echo_n "checking gcc version... " >&6; }
|
2010-10-21 17:52:51 -04:00
|
|
|
{ $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
|
2010-10-22 09:36:39 -04:00
|
|
|
- CFLAGS="$CFLAGS -Wvariadic-macros"
|
|
|
|
+ : CFLAGS="$CFLAGS -Wvariadic-macros"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|