Browse Source

avoid gcc conflicts, avoid embedded asm (broken on sparc)

master
Michael van Elst 23 years ago committed by Ralf S. Engelschall
parent
commit
e783fe7330
  1. 9
      pari/pari.spec

9
pari/pari.spec

@ -37,7 +37,7 @@ Distribution: OpenPKG [PLUS]
Group: Algorithm
License: GPL
Version: %{V_major}.%{V_minor}
Release: 20030409
Release: 20030626
# list of sources
Source0: ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-%{V_major}/pari-%{version}.tar.gz
@ -60,7 +60,10 @@ AutoReqProv: no
%prep
%setup -q
%{l_shtool} subst -e 's;-O3;-O2;g' Configure
%{l_shtool} subst \
-e 's;-O3;-O2;g' \
-e 's;-D__GNUC__;;g' \
Configure
%build
CC="%{l_cc}" \
@ -69,6 +72,8 @@ AutoReqProv: no
--prefix=%{l_prefix} \
--datadir=%{l_prefix}/share/pari/galdata \
--miscdir=%{l_prefix}/share/pari \
# FIXME - doesn't take advantage of asm kernel
--host=none \
--graphic=none \
--static
%{l_make} %{l_mflags -O} gp

Loading…
Cancel
Save