]> git.pld-linux.org Git - packages/beecrypt.git/blob - beecrypt-opt.patch
- updated to 4.1.1
[packages/beecrypt.git] / beecrypt-opt.patch
1 diff -urN beecrypt-4.1.0.org/acinclude.m4 beecrypt-4.1.0/acinclude.m4
2 --- beecrypt-4.1.0.org/acinclude.m4     2004-11-18 13:31:16.000000000 +0100
3 +++ beecrypt-4.1.0/acinclude.m4 2004-11-18 15:18:11.817798072 +0100
4 @@ -495,19 +495,19 @@
5          # -march=athlon64 degrades performance
6          ;;
7        athlon*)
8 -        CFLAGS="$CFLAGS -march=$bc_target_arch"
9 +        CFLAGS="$CFLAGS -march=$bc_target_cpu"
10          ;;
11        i586)
12 -        CFLAGS="$CFLAGS -march=pentium"
13 +        CFLAGS="$CFLAGS -march=$bc_target_cpu"
14          ;;
15        i686)
16 -        CFLAGS="$CFLAGS -march=pentiumpro"
17 +        CFLAGS="$CFLAGS -march=$bc_target_cpu"
18          ;;
19        pentium*)
20 -        CFLAGS="$CFLAGS -march=$bc_target_arch"
21 +        CFLAGS="$CFLAGS -march=$bc_target_cpu"
22          ;;
23        powerpc | powerpc64)
24 -        CFLAGS="$CFLAGS -mcpu=$bc_target_arch"
25 +        CFLAGS="$CFLAGS -mcpu=$bc_target_cpu"
26          ;;
27        sparcv8)
28          CFLAGS="$CFLAGS -mv8"
29 @@ -570,7 +570,7 @@
30      if test "$bc_cv_c_aggressive_opt" = yes; then
31        case $bc_target_cpu in
32        athlon*)
33 -        CXXFLAGS="$CXXFLAGS -mcpu=pentiumpro";
34 +        CXXFLAGS="$CXXFLAGS -mcpu=$bc_target_cpu";
35          ;;
36        i586)
37          CXXFLAGS="$CXXFLAGS -mcpu=pentium"
38 @@ -582,7 +582,7 @@
39          # no -mcpu=... option on ia64
40          ;;
41        pentium*)
42 -        CXXFLAGS="$CXXFLAGS -mcpu=$bc_target_arch"
43 +        CXXFLAGS="$CXXFLAGS -mcpu=$bc_target_cpu"
44          ;;
45        esac
46        # Architecture-specific optimizations
47 diff -urN beecrypt-4.1.0.org/configure.ac beecrypt-4.1.0/configure.ac
48 --- beecrypt-4.1.0.org/configure.ac     2004-11-17 20:05:37.000000000 +0100
49 +++ beecrypt-4.1.0/configure.ac 2004-11-18 15:19:07.577852788 +0100
50 @@ -489,7 +489,7 @@
51      CPPFLAGS="$CPPFLAGS -DOPTIMIZE_ARM"
52      ;;
53    athlon*)
54 -    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I386 -DOPTIMIZE_MMX"
55 +    CPPFLAGS="$CPPFLAGS -DOPTIMIZE_I686 -DOPTIMIZE_MMX"
56      CFLAGS="$CFLAGS -mmmx"
57      ;;
58    i386)
This page took 0.071903 seconds and 3 git commands to generate.