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 86265 d051207285988769e2ceaa2da8bb8b16d3915632
parent 86264 4bb2bcc8c95aa6ae4b4c672931421f220983b3aa
child 86266 b937df325e7184e2454896e15eabde5037c180aa
push id22008
push userbmo@edmorley.co.uk
push dateTue, 07 Feb 2012 10:32:58 +0000
treeherdermozilla-central@2b61af9d18ee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbenjamin
bugs724615
milestone13.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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))