bug 554021 - enable compiling Breakpad on Linux/ARM by default. r=jimb
authorTed Mielczarek <ted.mielczarek@gmail.com>
Fri, 26 Mar 2010 14:23:48 -0400
changeset 40607 9707858ee63b34f290f3e156ef5e81f0cc9ca0ac
parent 40606 8d99566a95942e465e1b725939cb208113cf778b
child 40608 8a97fc25da6fc4d2b91a02145887cd291e6753b3
push id12699
push usertmielczarek@mozilla.com
push dateThu, 08 Apr 2010 20:23:51 +0000
treeherdermozilla-central@8a97fc25da6f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimb
bugs554021
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
bug 554021 - enable compiling Breakpad on Linux/ARM by default. r=jimb
configure.in
toolkit/crashreporter/client/crashreporter_gtk_common.cpp
toolkit/crashreporter/client/crashreporter_unix_common.cpp
toolkit/crashreporter/google-breakpad/src/common/linux/Makefile.in
--- a/configure.in
+++ b/configure.in
@@ -5869,17 +5869,17 @@ dnl ====================================
 
 case $target in
 i?86-*-mingw*)
   MOZ_CRASHREPORTER=1
   ;;
 i?86-apple-darwin*|powerpc-apple-darwin*)
   MOZ_CRASHREPORTER=1
   ;;
-i?86-*-linux*|x86_64-*-linux*)
+i?86-*-linux*|x86_64-*-linux*|arm-*-linux*)
   MOZ_CRASHREPORTER=1
   ;;
 *solaris*)
   MOZ_CRASHREPORTER=1
   ;;
 esac
 
 MOZ_ARG_DISABLE_BOOL(crashreporter,
--- a/toolkit/crashreporter/google-breakpad/src/common/linux/Makefile.in
+++ b/toolkit/crashreporter/google-breakpad/src/common/linux/Makefile.in
@@ -61,13 +61,20 @@ HOST_CPPSRCS = \
   dwarf_line_to_module.cc \
   file_id.cc \
   guid_creator.cc \
   language.cc \
   module.cc \
   stabs_reader.cc \
   $(NULL)
 
+ifdef MOZ_PLATFORM_MAEMO
+# The GCC in scratchbox crashes writing DWARF debug info for language.cc.
+# Since we don't really need debug symbols for the host tools anyway,
+# just get rid of debug options.
+HOST_CXXFLAGS = $(patsubst -g%,,$(CXXFLAGS))
+endif
+
 # need static lib
 FORCE_STATIC_LIB = 1
 FORCE_USE_PIC = 1
 
 include $(topsrcdir)/config/rules.mk