Bug 628232 part 2 - Allow to build elfhack injected code as thumb. r=tglek,a=sdwilsh
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 28 Jan 2011 09:22:58 +0100
changeset 61505 d99da3128e4f60427ba95e6eb043dead92466790
parent 61504 072b2d4fa1176ca23d94b2c823f4771ef243109c
child 61506 5c35c496cb6d10e7c16739359235ac3bafbc0ceb
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewerstglek, sdwilsh
bugs628232
milestone2.0b11pre
Bug 628232 part 2 - Allow to build elfhack injected code as thumb. r=tglek,a=sdwilsh
build/unix/elfhack/Makefile.in
--- a/build/unix/elfhack/Makefile.in
+++ b/build/unix/elfhack/Makefile.in
@@ -105,13 +105,9 @@ GARBAGE_DIRS += inject
 
 inject/%.$(OBJ_SUFFIX): DEFINES += -DBITS=$(if $(HAVE_64BIT_OS),64,32)
 inject/$(CPU)-noinit.$(OBJ_SUFFIX): DEFINES += -DNOINIT
 
 # need this to suppress errors due to /usr/include/linux/byteorder/swab.h
 # on mozilla buildbots
 OS_CXXFLAGS := $(filter-out -pedantic,$(OS_CXXFLAGS))
 
-# Avoid building as thumb code, this is not supported yet
-COMMA := ,
-OS_CFLAGS := $(filter-out -mthumb -Wa$(COMMA)-mthumb,$(OS_CFLAGS))
-
 include $(topsrcdir)/config/rules.mk