summaryrefslogtreecommitdiffstats
path: root/breakpad
diff options
context:
space:
mode:
Diffstat (limited to 'breakpad')
-rw-r--r--breakpad/breakpad.gyp15
1 files changed, 9 insertions, 6 deletions
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp
index f1ae674..b524e8a 100644
--- a/breakpad/breakpad.gyp
+++ b/breakpad/breakpad.gyp
@@ -106,12 +106,6 @@
{
'target_name': 'dump_syms',
'type': 'executable',
- 'variables': {
- # Turn off PIE because it may interfere with dump_syms' ability to
- # allocate a contiguous region in memory large enough to mmap the
- # entire unstripped framework in a 32-bit dump_syms process.
- 'mac_pie': 0,
- },
'include_dirs++': [
# ++ ensures this comes before src brought in from target_defaults.
'pending/src',
@@ -144,8 +138,17 @@
'HAVE_MACH_O_NLIST_H',
],
'xcode_settings': {
+ # Like ld, dump_syms needs to operate on enough data that it may
+ # actually need to be able to address more than 4GB. Use x86_64.
+ # Don't worry! An x86_64 dump_syms is perfectly able to dump
+ # 32-bit files.
+ 'ARCHS': [
+ 'x86_64',
+ ],
+
# The DWARF utilities require -funsigned-char.
'GCC_CHAR_IS_UNSIGNED_CHAR': 'YES',
+
# dwarf2reader.cc uses dynamic_cast.
'GCC_ENABLE_CPP_RTTI': 'YES',
},