[xulrunner] Add compile options for ARM hfp/sfp - RHBZ #738509

Peter Robinson pbrobinson at fedoraproject.org
Fri Dec 23 14:28:15 UTC 2011


commit 4a6f9f89f0b04a9d63ec4c2a7e4dc528d1e9799f
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Fri Dec 23 14:28:05 2011 +0000

    Add compile options for ARM hfp/sfp - RHBZ #738509

 xulrunner.spec |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/xulrunner.spec b/xulrunner.spec
index 8549343..70f3391 100644
--- a/xulrunner.spec
+++ b/xulrunner.spec
@@ -53,7 +53,7 @@
 Summary:        XUL Runtime for Gecko Applications
 Name:           xulrunner
 Version:        9.0.1
-Release:        1%{?pre_tag}%{?dist}
+Release:        2%{?pre_tag}%{?dist}
 URL:            http://developer.mozilla.org/En/XULRunner
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -223,6 +223,21 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{gecko_dir_ver}/' %{P:%%PATCH0} \
 echo "ac_add_options --disable-jemalloc" >> .mozconfig
 %endif
 
+%ifarch arm7hl
+echo "ac_add_options --with-arch=armv7-a" >> .mozconfig
+echo "ac_add_options --with-float-abi=hard" >> .mozconfig
+echo "ac_add_options --with-fpu=vfpv3-d16" >> .mozconfig
+%endif
+%ifarch arm7hnl
+echo "ac_add_options --with-arch=armv7-a" >> .mozconfig
+echo "ac_add_options --with-float-abi=hard" >> .mozconfig
+echo "ac_add_options --with-fpu=neon" >> .mozconfig
+%endif
+%ifarch armv5tel
+echo "ac_add_options --with-arch=armv5te" >> .mozconfig
+echo "ac_add_options --with-float-abi=soft" >> .mozconfig
+%endif
+
 %ifnarch %{ix86} x86_64
 echo "ac_add_options --disable-methodjit" >> .mozconfig
 echo "ac_add_options --disable-monoic" >> .mozconfig
@@ -453,6 +468,9 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Fri Dec 23 2011 Peter Robinson <pbrobinson at fedoraproject.org> - 9.0.1-2
+- Add compile options for ARM hfp/sfp - RHBZ #738509
+
 * Fri Dec 23 2011 Jan Horak <jhorak at redhat.com> - 9.0.1-1
 - Update to 9.0.1
 


More information about the scm-commits mailing list