mozilla-arm-cpu-detection.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Fri, 16 Mar 2012 07:48:35 +0100
changeset 410 0af1b0003b9f
parent 404 5f3bccaf6d52
permissions -rw-r--r--
working 12.0b1

# 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))