[healpix] Fix FTBFS, patch by Patrick Uiterwijk.

Jussi Lehtola jussilehtola at fedoraproject.org
Wed Jul 25 09:40:54 UTC 2012


commit 76d364805259c90edab0ee9eecbc803d6e29412c
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Wed Jul 25 12:39:14 2012 +0300

    Fix FTBFS, patch by Patrick Uiterwijk.

 healpix.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/healpix.spec b/healpix.spec
index 65b0cfb..4d2a6cb 100644
--- a/healpix.spec
+++ b/healpix.spec
@@ -1,6 +1,6 @@
 Name:           healpix
 Version:        2.13a
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Hierarchical Equal Area isoLatitude Pixelization of a sphere
 
 Group:          Development/Libraries
@@ -153,7 +153,7 @@ export CXXFLAGS="$CCFLAGS"
 export CXXFLAGS_NO_C="$CCFLAGS_NO_C"
 export CXXCFLAGS="$CCFLAGS"
 export CXXLFLAGS="%{optflags} -L. -L$DESTLIB"
-export CXX_EXTRALIBS="-lcfitsio -lhealpix_cxx -lhealpix_cxxsupport -lhealpix_fft -lgomp --as-needed"
+export CXX_EXTRALIBS="-lcfitsio -lhealpix_cxx -lhealpix_cxxsupport -lhealpix_fft -lgomp -Wl,--as-needed"
 
 # SMP make doesn't work
 for dir in cxxsupport libfftpack Healpix_cxx alice docsrc; do
@@ -315,6 +315,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jul 24 2012 Patrick Uiterwijk <puiterwijk at gmail.com> - 2.13a-7
+- Fix build to pass as-needed to the linker, as it should
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.13a-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list