]> git.pld-linux.org Git - packages/gmp.git/commitdiff
- change _target_cpu macro according to choosen architecture
authorfilon <filon@sokrates.mimuw.edu.pl>
Sun, 20 Jan 2002 12:27:23 +0000 (12:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use info patch
- release 4

Changed files:
    gmp.spec -> 1.42

gmp.spec

index 60d82c099712d4ef488a57371cf6405be9b95090..eec06346cf28b7462f75bd7518aa22a7f925dee2 100644 (file)
--- a/gmp.spec
+++ b/gmp.spec
@@ -6,7 +6,7 @@
 # _with_k6     - with AMD K6 instructions              (i586 target)
 # _with_k62    - with AMD K6-2/K6-3 instructions       (i586 target)
 # _with_k7     - with AMD Athlon/Duron instructions    (i686 target)
-#
+
 Summary:       GNU arbitrary precision library
 Summary(de):   Beliebige Genauigkeits-Library
 Summary(fr):   Bibliothèque de calcul de précision
@@ -17,7 +17,7 @@ Summary(pt_BR):       Biblioteca de precis
 Summary(es):   Biblioteca de precisión arbitraria de la GNU
 Name:          gmp
 Version:       4.0
-Release:       2
+Release:       3
 License:       LGPL
 Group:         Libraries
 Group(de):     Libraries
@@ -38,12 +38,10 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     libgmp3
 
 %ifarch i586
-%define asmcpu %{?_with_k62:k62}%{!?_with_k62:%{?_with_k6:k6}%{!?_with_k6:%{?_with_mmx:pentiummmx}%{!?_with_mmx:i586}}}
+%define _target_cpu %{?_with_k62:k62}%{!?_with_k62:%{?_with_k6:k6}%{!?_with_k6:%{?_with_mmx:pentiummmx}%{!?_with_mmx:i586}}}
 %else
 %ifarch i686
-%define asmcpu %{?_with_p3mmx:pentium3}%{!?_with_p3mmx:%{?_with_k7:athlon}%{!?_with_k7:%{?_with_mmx:pentium2}%{!?_with_mmx:i686}}}
-%else
-%define asmcpu %{_target_cpu}
+%define _target_cpu %{?_with_p3mmx:pentium3}%{!?_with_p3mmx:%{?_with_k7:athlon}%{!?_with_k7:%{?_with_mmx:pentium2}%{!?_with_mmx:i686}}}
 %endif
 %endif
 
@@ -212,8 +210,8 @@ aclocal
 autoconf
 automake -a -c
 %configure \
-       --enable-fft \
-       --with-cpu=%{asmcpu}
+       --enable-cxx \
+       --enable-fft
 
 %{__make}
 
This page took 0.111749 seconds and 4 git commands to generate.