Bug 632769 - Only build elfhack on x86* and arm. r=khuey,a=NPOTB
authorMike Hommey <mh+mozilla@glandium.org>
Sat, 12 Feb 2011 10:27:56 +0100
changeset 62460 9455a1a5222567d19db3eb2487970fc91e75bac2
parent 62459 9698ac3f1c6173bc770903f705e4339ba4fb3108
child 62461 acd473c662fb63cca0194ba49c9552c444e2e52b
push idunknown
push userunknown
push dateunknown
reviewerskhuey, NPOTB
bugs632769
milestone2.0b12pre
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 632769 - Only build elfhack on x86* and arm. r=khuey,a=NPOTB
build/unix/Makefile.in
--- a/build/unix/Makefile.in
+++ b/build/unix/Makefile.in
@@ -41,18 +41,20 @@ topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
 MODULE       = build
 
 ifeq ($(USE_ELF_HACK)$(HOST_OS_ARCH)$(OS_ARCH),1LinuxLinux)
+ifneq (,$(filter %86 x86_64 arm,$(OS_TEST)))
 DIRS = elfhack
 endif
+endif
 
 include $(topsrcdir)/config/rules.mk
 
 libs:: $(srcdir)/run-mozilla.sh
 	$(INSTALL) $< $(DIST)/bin
 
 ifeq ($(OS_ARCH),OpenVMS)
 libs:: vms/mozilla.com vms/install.com vms/getinfo.com