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

33 lines
1.5 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.16 2009/09/06 15:03:18 naddy Exp $
--- configure.orig Tue Aug 25 01:44:33 2009
+++ configure Thu Sep 3 23:13:46 2009
2009-07-22 11:52:07 -04:00
@@ -11317,8 +11317,8 @@ CC="$lt_save_CC"
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 "
- CXXFLAGS="$CXXFLAGS -g -O3 "
+ : CFLAGS="$CFLAGS -g -O3 "
+ : CXXFLAGS="$CXXFLAGS -g -O3 "
2009-03-04 15:59:52 -05:00
fi
2009-07-22 11:52:07 -04:00
else
supported_build=no
@@ -16403,7 +16403,7 @@ esac
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; }
2009-07-22 11:52:07 -04:00
@@ -16415,7 +16415,7 @@ $as_echo_n "checking gcc version... " >&6; }
2009-05-10 15:31:44 -04:00
{ $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