Build with -g on Linux.
This commit is contained in:
parent
95e1ea6599
commit
de21a164ea
1 changed files with 19 additions and 0 deletions
19
common.gypi
19
common.gypi
|
@ -244,5 +244,24 @@
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}], # OS=="mac"
|
}], # OS=="mac"
|
||||||
|
# The breakpad on Linux needs the binary to be built with -g to generate
|
||||||
|
# unmangled symbols.
|
||||||
|
['OS=="linux"', {
|
||||||
|
'target_defaults': {
|
||||||
|
'cflags': [ '-g' ],
|
||||||
|
'conditions': [
|
||||||
|
['target_arch=="ia32"', {
|
||||||
|
'target_conditions': [
|
||||||
|
['_toolset=="target"', {
|
||||||
|
'ldflags': [
|
||||||
|
# Workaround for linker OOM.
|
||||||
|
'-Wl,--no-keep-memory',
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
],
|
||||||
|
}],
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}],
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue