openbsd-ports/net/transmission/patches/patch-configure

33 lines
1.5 KiB
Plaintext

$OpenBSD: patch-configure,v 1.18 2009/10/28 19:38:11 naddy Exp $
--- configure.orig Sun Oct 25 02:50:02 2009
+++ configure Tue Oct 27 23:32:44 2009
@@ -11335,8 +11335,8 @@ CC="$lt_save_CC"
if test 0 = "0"; then
supported_build=yes
if test "x$GCC" = "xyes" ; then
- CFLAGS="$CFLAGS -g -O3 "
- CXXFLAGS="$CXXFLAGS -g -O3 "
+ : CFLAGS="$CFLAGS -g -O3 "
+ : CXXFLAGS="$CXXFLAGS -g -O3 "
fi
CPPFLAGS="$CPPFLAGS -DNDEBUG"
else
@@ -16422,7 +16422,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"
+ : 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; }
@@ -16434,7 +16434,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
fi