[nspr] - Conditional enabling build support for thumb2 on right arm arches
Elio Maldonado
emaldonado at fedoraproject.org
Wed Jul 6 14:24:36 UTC 2011
commit a2c38cd07fa7616d97cfb1fad16f7c82092ab961
Author: Elio Maldonado <emaldona at redhat.com>
Date: Wed Jul 6 07:14:05 2011 -0700
- Conditional enabling build support for thumb2 on right arm arches
- Not all ARM v7 systems build with Thumb2 instructions
- This workaround is needed only until upstream fixes are available
- spec file changes contributed by Jon Masters <jcm at redhat.com>
nspr.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/nspr.spec b/nspr.spec
index 36c8e9a..9c1ea35 100644
--- a/nspr.spec
+++ b/nspr.spec
@@ -56,6 +56,9 @@ cp %{SOURCE2} ./mozilla/nsprpub/config/
%ifarch x86_64 ppc64 ia64 s390x sparc64
--enable-64bit \
%endif
+%ifarch armv7l armv7hl armv7nhl
+ --enable-thumb2 \
+%endif
--enable-optimize="$RPM_OPT_FLAGS" \
--disable-debug
More information about the scm-commits
mailing list