[xfhell] Missing libm linker

Randall 'Randy' Berry dp67 at fedoraproject.org
Wed Dec 7 07:18:02 UTC 2011


commit c70509fe81da11d07885a76491ec05f98c818e62
Author: dp67 <dp67 at fedoraproject.org>
Date:   Wed Dec 7 02:17:58 2011 -0500

    Missing libm linker

 xfhell.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/xfhell.spec b/xfhell.spec
index 2f5f12f..e0c5e34 100644
--- a/xfhell.spec
+++ b/xfhell.spec
@@ -1,6 +1,6 @@
 Name:           xfhell
 Version:        1.9
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        GTK based Ham Radio application for the Hellschreiber communications mode
 
 Group:          Applications/Communications
@@ -28,12 +28,12 @@ communication mode known as Hellschreiber.
 %build
 ./autogen.sh
 %configure
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LIBS=" -lm"
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT 
 
 # no upstream .desktop or icon yet
 mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
@@ -55,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/applications/*%{name}.desktop
 
 %changelog
+* Mon Dec 7 2011 Randall J. Berry, N3LRX <dp67 at fedoraproject.org> - 1.9-7
+- linker error in build added libm.so
+
 * Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 1.9-6
 - Rebuild for new libpng
 


More information about the scm-commits mailing list