Bug 629639 - Build elfhack injected code without stack protection. r=khuey a=bsmedberg
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 03 Feb 2011 00:15:20 +0100
changeset 61816 8a376e2a54009434f02c6574b875144757c5c642
parent 61815 2772a0cf36d1d5231c1babab93cad542bf2d0783
child 61817 a6efb78078966b277c3a48824d8a0055c0e8e2e5
push id18504
push usermlamouri@mozilla.com
push dateWed, 02 Feb 2011 23:23:00 +0000
treeherdermozilla-central@8a376e2a5400 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey, bsmedberg
bugs629639
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 629639 - Build elfhack injected code without stack protection. r=khuey a=bsmedberg
build/unix/elfhack/Makefile.in
--- a/build/unix/elfhack/Makefile.in
+++ b/build/unix/elfhack/Makefile.in
@@ -109,10 +109,10 @@ GARBAGE_DIRS += inject
 
 # need this to suppress errors due to /usr/include/linux/byteorder/swab.h
 # on mozilla buildbots
 OS_CXXFLAGS := $(filter-out -pedantic,$(OS_CXXFLAGS))
 
 include $(topsrcdir)/config/rules.mk
 
 inject/%.$(OBJ_SUFFIX): DEFINES += -DBITS=$(if $(HAVE_64BIT_OS),64,32)
-inject/%.$(OBJ_SUFFIX): CFLAGS := -O2 $(filter -m% -I%,$(CFLAGS))
+inject/%.$(OBJ_SUFFIX): CFLAGS := -O2 -fno-stack-protector $(filter -m% -I%,$(CFLAGS))
 inject/$(CPU)-noinit.$(OBJ_SUFFIX): DEFINES += -DNOINIT