mozilla-arm-cpu-detection.patch
author Adrian Schröter <adrian@suse.de>
Fri, 25 May 2012 09:12:54 +0200
branchfirefox12
changeset 450 586eaa2c4dce
parent 404 5f3bccaf6d52
permissions -rw-r--r--
fixed ARM build

# HG changeset patch
# Parent 80b3a069c028690886ade5fdeb0f5d8b435ea368
diff --git a/xpcom/glue/objs.mk b/xpcom/glue/objs.mk
--- a/xpcom/glue/objs.mk
+++ b/xpcom/glue/objs.mk
@@ -71,13 +71,13 @@ XPCOM_GLUENS_SRC_LCPPSRCS =      \
   SSE.cpp                        \
   unused.cpp                     \
   nsProxyRelease.cpp             \
   nsTextFormatter.cpp            \
   GenericFactory.cpp             \
   FileUtils.cpp                  \
   $(NULL)
 
-ifeq (arm,$(TARGET_CPU))
+ifneq (,$(filter arm%,$(TARGET_CPU)))
 XPCOM_GLUENS_SRC_LCPPSRCS += arm.cpp
 endif
 
 XPCOM_GLUENS_SRC_CPPSRCS = $(addprefix $(topsrcdir)/xpcom/glue/,$(XPCOM_GLUENS_SRC_LCPPSRCS))