зеркало из https://github.com/electron/electron.git
Build with -g on Linux.
This commit is contained in:
Родитель
95e1ea6599
Коммит
de21a164ea
19
common.gypi
19
common.gypi
|
@ -244,5 +244,24 @@
|
|||
},
|
||||
},
|
||||
}], # 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',
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче