xhorak pushed to thunderbird (master). "Added build options for arm"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 16 09:36:51 UTC 2015


>From 1a01b39af0129e9d1ec55558dcddb8d46c64608a Mon Sep 17 00:00:00 2001
From: Jan Horak <jhorak at redhat.com>
Date: Thu, 16 Apr 2015 11:04:15 +0200
Subject: Added build options for arm


diff --git a/thunderbird.spec b/thunderbird.spec
index a5bd536..624d694 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -239,6 +239,28 @@ echo "ac_add_options --disable-elf-hack" >> .mozconfig
 echo "ac_add_options --disable-webrtc" >> .mozconfig
 %endif
 
+%ifarch armv7hl
+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
+echo "ac_add_options --disable-elf-hack" >> .mozconfig
+%endif
+%ifarch armv7hnl
+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
+echo "ac_add_options --disable-elf-hack" >> .mozconfig
+echo "ac_add_options --disable-ion" >> .mozconfig
+echo "ac_add_options --disable-yarr-jit" >> .mozconfig
+%endif
+%ifarch armv5tel
+echo "ac_add_options --with-arch=armv5te" >> .mozconfig
+echo "ac_add_options --with-float-abi=soft" >> .mozconfig
+echo "ac_add_options --disable-elf-hack" >> .mozconfig
+echo "ac_add_options --disable-ion" >> .mozconfig
+echo "ac_add_options --disable-yarr-jit" >> .mozconfig
+%endif
+
 #===============================================================================
 
 %build
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/thunderbird.git/commit/?h=master&id=1a01b39af0129e9d1ec55558dcddb8d46c64608a


More information about the scm-commits mailing list