Bug 680277 - Change another use of MOZ_OPTIMIZE_FLAGS to MOZ_FRAMEPTR_FLAGS. r=khuey.
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Thu, 01 Sep 2011 16:43:50 -0400
changeset 76414 7ee51f8ea94042c4b5748765539b5dbaae23693d
parent 76413 e3626f903f9f03ac2f65922f4613f12e05b0b0c8
child 76415 ee8c8daffe4355f2024d6cc1b17771b480f0e7d8
push idunknown
push userunknown
push dateunknown
reviewerskhuey
bugs680277
milestone9.0a1
Bug 680277 - Change another use of MOZ_OPTIMIZE_FLAGS to MOZ_FRAMEPTR_FLAGS. r=khuey.
toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
--- a/toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
+++ b/toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
@@ -47,17 +47,17 @@ ifdef MOZ_THUMB2 #{
 # complains if we store to r7, not unreasonably, but complains
 # inconsistently.  The generic syscall template pushes/stores to/pops
 # r7 with no complaint from gcc, but the sys_clone() function marks r7
 # as a clobbered register yet gcc error's.  The generated assembly for
 # sys_clone() looks OK, so we chalk this up to a gcc/gas quirk and
 # work around it by telling gcc that the THUMB frame pointer is a
 # vanilla callee-save register.
 OS_CXXFLAGS += -fomit-frame-pointer
-MOZ_OPTIMIZE_FLAGS := $(filter-out -fno-omit-frame-pointer,$(MOZ_OPTIMIZE_FLAGS))
+MOZ_FRAMEPTR_FLAGS := -fomit-frame-pointer
 endif #}
 
 MODULE		= handler
 LIBRARY_NAME	= exception_handler_s
 XPI_NAME 	= crashreporter
 
 LOCAL_INCLUDES 	= -I$(srcdir)/../../..