openbsd-ports/net/transmission/patches/patch-configure
2009-09-16 19:36:33 +00:00

33 lines
1.5 KiB
Plaintext

$OpenBSD: patch-configure,v 1.17 2009/09/16 19:36:33 naddy Exp $
--- configure.orig Mon Sep 14 05:53:50 2009
+++ configure Mon Sep 14 20:29:13 2009
@@ -11317,8 +11317,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
@@ -16404,7 +16404,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; }
@@ -16416,7 +16416,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