Bug 724615 - Fix TARGET_CPU usage on ARM. r=benjamin
authorRaúl Porcel <armin76@gentoo.org>
Mon, 06 Feb 2012 22:44:52 +0100
changeset 89144 d051207285988769e2ceaa2da8bb8b16d3915632
parent 89143 4bb2bcc8c95aa6ae4b4c672931421f220983b3aa
child 89145 b937df325e7184e2454896e15eabde5037c180aa
push idunknown
push userunknown
push dateunknown
reviewersbenjamin
bugs724615
milestone13.0a1
Bug 724615 - Fix TARGET_CPU usage on ARM. r=benjamin
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))