[pcmanfm/f16] fix build on non-x86 arches

Dan Horák sharkcz at fedoraproject.org
Sun Sep 11 09:39:09 UTC 2011


commit c5f39413b1b2649675f45b52ea481c743ab5f6cd
Author: Dan Horák <dan at danny.cz>
Date:   Sun Sep 11 11:37:34 2011 +0200

    fix build on non-x86 arches

 pcmanfm.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/pcmanfm.spec b/pcmanfm.spec
index 77259d1..2f3c4ca 100644
--- a/pcmanfm.spec
+++ b/pcmanfm.spec
@@ -2,7 +2,7 @@
 # git://pcmanfm.git.sourceforge.net/gitroot/pcmanfm/pcmanfm
 
 %global         usegit      0
-%global         mainrel     8
+%global         mainrel     9
 
 %global         githash     07ddaf9cdeedc5f86a03b28b3d686aa82c59b38e
 %global         shorthash   %(TMP=%githash ; echo ${TMP:0:10})
@@ -71,7 +71,7 @@ chmod 0644 [A-Z]*
 %configure
 
 make -C po -j1 GMSGFMT="msgfmt --statistics"
-make  %{?_smp_mflags} -k
+make  %{?_smp_mflags} -k AM_LDFLAGS="-lm"
 
 %install
 make install \
@@ -123,6 +123,9 @@ exit 0
 %endif
 
 %changelog
+* Sun Sep 11 2011 Dan Horák <dan[at]danny.cz> - 0.9.9-9
+- fix build on non-x86 arches
+
 * Sun Aug 28 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 0.9.9-8
 - 0.9.9 release
 


More information about the scm-commits mailing list