You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
transmission/transmission-1.71-copt.patch

34 lines
1.2 KiB

diff -urN transmission-1.71.orig/configure transmission-1.71/configure
--- transmission-1.71.orig/configure 2009-06-08 07:06:27.000000000 +0530
+++ transmission-1.71/configure 2009-06-12 19:50:00.279308724 +0530
@@ -20140,10 +20140,6 @@
else
supported_build=no
- if test "x$GCC" = "xyes" ; then
- CFLAGS="$CFLAGS -g -O0"
- CXXFLAGS="$CXXFLAGS -g -O0"
- fi
if test 0 = "X"; then
cat >>confdefs.h <<\_ACEOF
@@ -21525,10 +21521,6 @@
;;
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"
-
{ $as_echo "$as_me:$LINENO: checking gcc version" >&5
$as_echo_n "checking gcc version... " >&6; }
GCC_VERSION=`$CC -dumpversion`
@@ -21541,7 +21533,6 @@
if test $GCC_VERSION_NUM -ge 304; then
CFLAGS="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self"
fi
-fi
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }