- add -fgnu89-inline flag to solve gcc4.3 problem remove gcc43 patch

This commit is contained in:
Ivana Varekova 2008-07-28 10:40:45 +00:00
parent 111a8a40b8
commit d08d26a591
2 changed files with 5 additions and 1387 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,6 @@ Release: 2%{?dist}
URL: http://www.gnu.org/software/gsl/ URL: http://www.gnu.org/software/gsl/
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
Patch0: gsl-1.10-lib64.patch Patch0: gsl-1.10-lib64.patch
Patch1: gsl-1.11-gcc43.patch
# info part of this package is under GFDL license # info part of this package is under GFDL license
# eigen/nonsymmv.c and eigen/schur.c # eigen/nonsymmv.c and eigen/schur.c
# contains rutiens which are part of LAPACK - under BSD style license # contains rutiens which are part of LAPACK - under BSD style license
@ -41,13 +40,12 @@ The gsl-static package includes static libraries of GSL.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .lib64 %patch0 -p1 -b .lib64
%patch1 -p1 -b .gcc43
iconv -f windows-1252 -t utf-8 THANKS > THANKS.aux iconv -f windows-1252 -t utf-8 THANKS > THANKS.aux
touch -r THANKS THANKS.aux touch -r THANKS THANKS.aux
mv THANKS.aux THANKS mv THANKS.aux THANKS
%build %build
%configure %configure CFLAGS="$CFLAGS -fgnu89-inline"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -101,6 +99,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a %{_libdir}/*.a
%changelog %changelog
* Mon Jul 28 2008 Ivana Varekova <varekova@redhat.com> - 1.11-3
- add -fgnu89-inline flag to solve gcc4.3 problem
remove gcc43 patch
* Wed Jun 18 2008 Ivana Varekova <varekova@redhat.com> - 1.11-2 * Wed Jun 18 2008 Ivana Varekova <varekova@redhat.com> - 1.11-2
- Resolves: #451006 - Resolves: #451006
programs build with gcc 4.3 based on gsl require -fgnu89-inline programs build with gcc 4.3 based on gsl require -fgnu89-inline