openbsd-ports/net/transmission/patches/patch-configure
2013-03-20 20:18:07 +00:00

37 lines
1.7 KiB
Plaintext

$OpenBSD: patch-configure,v 1.30 2013/03/20 20:18:07 naddy Exp $
--- configure.orig Mon Feb 18 15:43:15 2013
+++ configure Wed Mar 20 16:41:17 2013
@@ -11762,8 +11762,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
@@ -16155,7 +16155,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; }
@@ -16167,10 +16167,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