diff -ruN rpmbuild.old/SOURCES/arm-simd-neon-fix.patch rpmbuild/SOURCES/arm-simd-neon-fix.patch
--- rpmbuild.old/SOURCES/arm-simd-neon-fix.patch	1970-01-01 01:00:00.000000000 +0100
+++ rpmbuild/SOURCES/arm-simd-neon-fix.patch	2014-02-04 15:08:36.000000000 +0000
@@ -0,0 +1,46 @@
+--- firefox-24.2.0/mozilla-esr24/configure.orig	2014-02-04 15:05:27.665111614 +0000
++++ firefox-24.2.0/mozilla-esr24/configure	2014-02-04 15:06:22.035111640 +0000
+@@ -6676,6 +6676,7 @@
+ 
+ 
+ if test "$CPU_ARCH" = "arm"; then
++if test "$MOZ_ARCH" = "armv7-a"; then
+   echo $ac_n "checking for ARM SIMD support in compiler""... $ac_c" 1>&6
+ echo "configure:6681: checking for ARM SIMD support in compiler" >&5
+   # We try to link so that this also fails when
+@@ -6758,7 +6759,11 @@
+   fi
+ 
+ fi # CPU_ARCH = arm
+-
++else
++HAVE_ARM_NEON=0
++BUILD_ARM_NEON=0
++HAVE_ARM_SIMD=0
++fi
+ 
+ 
+ 
+--- firefox-24.2.0/mozilla-esr24/js/src/configure.orig	2014-02-04 15:07:17.215111667 +0000
++++ firefox-24.2.0/mozilla-esr24/js/src/configure	2014-02-04 15:08:06.065111690 +0000
+@@ -5901,6 +5901,7 @@
+ 
+ 
+ if test "$CPU_ARCH" = "arm"; then
++if test "$MOZ_ARCH" = "armv7-a"; then
+   echo $ac_n "checking for ARM SIMD support in compiler""... $ac_c" 1>&6
+ echo "configure:5906: checking for ARM SIMD support in compiler" >&5
+   # We try to link so that this also fails when
+@@ -5983,7 +5984,11 @@
+   fi
+ 
+ fi # CPU_ARCH = arm
+-
++else
++HAVE_ARM_NEON=0
++BUILD_ARM_NEON=0
++HAVE_ARM_SIMD=0
++fi
+ 
+ 
+ 
diff -ruN rpmbuild.old/SPECS/firefox.spec rpmbuild/SPECS/firefox.spec
--- rpmbuild.old/SPECS/firefox.spec	2013-12-06 09:04:41.000000000 +0000
+++ rpmbuild/SPECS/firefox.spec	2014-02-04 15:12:10.000000000 +0000
@@ -51,7 +51,7 @@
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        24.2.0
-Release:        1%{?prever}%{?dist}
+Release:        1%{?prever}%{?dist}.0
 URL:            http://www.mozilla.org/projects/firefox/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -91,6 +91,8 @@
 Patch102:       xulrunner-nasm-webm.patch
 Patch200:       firefox-duckduckgo.patch
 
+Patch10001:     arm-simd-neon-fix.patch
+
 %if %{official_branding}
 # Required by Mozilla Corporation
 
@@ -197,6 +199,10 @@
 %patch102 -p2 -b .webm
 %patch200 -p1 -b .duckduckgo
 
+%ifarch %{arm}
+%patch10001 -p2 -b .arm
+%endif
+
 %if %{official_branding}
 # Required by Mozilla Corporation
 
@@ -260,11 +266,18 @@
 echo "ac_add_options --enable-system-hunspell" >> .mozconfig
 echo "ac_add_options --enable-libnotify" >> .mozconfig
 echo "ac_add_options --enable-startup-notification" >> .mozconfig
-echo "ac_add_options --enable-jemalloc" >> .mozconfig
 
 # s390(x) fails to start with jemalloc enabled
-%ifarch s390 s390x ppc ppc64
+%ifarch s390 s390x ppc ppc64 %{arm}
 echo "ac_add_options --disable-jemalloc" >> .mozconfig
+%else
+echo "ac_add_options --enable-jemalloc" >> .mozconfig
+%endif
+
+%ifarch %{arm}
+echo "ac_add_options --disable-elf-hack" >> .mozconfig
+echo "ac_add_options --with-arch=armv5te" >> .mozconfig
+echo "ac_add_options --target=armv5tel-redhat-linux-gnueabi" >> .mozconfig
 %endif
 
 # Debug build flags
