]> git.pld-linux.org Git - packages/szip.git/blob - szip-opt.patch
use df, downloading by wget causes gzipping second time
[packages/szip.git] / szip-opt.patch
1 --- szip-2.0/config/gnu-flags.orig      2004-03-16 17:14:13.000000000 +0100
2 +++ szip-2.0/config/gnu-flags   2005-02-27 22:25:15.841670040 +0100
3 @@ -89,26 +89,6 @@
4  
5  fi
6  
7 -# Architecture-specific flags
8 -case "$host_os-$host_cpu" in
9 -    # FreeBSD sets the information from "hostname -m" to the general machine
10 -    # architecture, not the specific CPU for the machine, so even our
11 -    # Pentium II Xeon server is set to "i386".  Once we know we are on a FreeBSD
12 -    # machine, use the "sysctl" command to get the CPU hardware model.
13 -    freebsd*)
14 -        host_cpu_model=`sysctl -n hw.model`
15 -        case "$host_cpu_model" in
16 -            # Hmm.. this might not catch Celerons, but it won't hurt them either...
17 -            *Pro*|*II*|*III*|*IV*|*Athlon*)
18 -                ARCH=${ARCH:="-march=i686"}
19 -            ;;
20 -        esac
21 -        ;;
22 -
23 -    *-i686)
24 -        ARCH=${ARCH:="-march=i686"}
25 -        ;;
26 -esac
27  
28  # Host-specific flags
29  case "`hostname`" in
30 @@ -131,7 +111,7 @@
31         # Production
32          case "$cc_vendor-$cc_version" in
33              gcc-2.95.[34])
34 -                PROD_CFLAGS="-O3 $NOFP"
35 +                PROD_CFLAGS="$NOFP"
36                  ;;
37              gcc-3.[0-3]*)
38                  # The optimization level is reduced for gcc 3.* due to problems
39 @@ -140,14 +120,14 @@
40                  # failures for various integer types -> long long conversions in the
41                  # test/dtypes test).  Perhaps later versions of gcc will fix this
42                  # bug... - QAK - 2003/10/20
43 -                PROD_CFLAGS="-O $NOFP"
44 +                PROD_CFLAGS="$NOFP"
45                  ;;
46              gcc-3*)
47                  # Be optimistic about future versions of gcc.. :-) - QAK - 2003/10/20
48 -                PROD_CFLAGS="-O3 $NOFP"
49 +                PROD_CFLAGS="$NOFP"
50                  ;;
51              *)
52 -                PROD_CFLAGS="-O $NOFP -finline-functions"
53 +                PROD_CFLAGS="$NOFP -finline-functions"
54                  ;;
55          esac
56         PROD_CPPFLAGS=
57 --- szip-2.0/config/ia64-linux-gnu.orig 2004-03-16 17:14:14.000000000 +0100
58 +++ szip-2.0/config/ia64-linux-gnu      2005-02-27 22:25:38.008300200 +0100
59 @@ -18,7 +18,7 @@
60  case $CC_BASENAME in
61      ecc)
62         CFLAGS="$CFLAGS -std=c99 -w2 -Wall"
63 -       DEBUG_CFLAGS="-g -O0"
64 +       DEBUG_CFLAGS="-g"
65         DEBUG_CPPFLAGS=
66         PROD_CFLAGS=""          # ecc has -O2 as default
67         PROD_CPPFLAGS=
68 @@ -34,7 +34,7 @@
69         CFLAGS="$CFLAGS -ansi"
70         DEBUG_CFLAGS="-g"
71         DEBUG_CPPFLAGS=
72 -       PROD_CFLAGS="-O"
73 +       PROD_CFLAGS=
74         PROD_CPPFLAGS=
75         PROFILE_CFLAGS="-pg"
76         PROFILE_CPPFLAGS=
This page took 0.058845 seconds and 3 git commands to generate.