build: disable -fomit-frame-pointer on solaris
This "optimization" cripples debuggability and has dubious performance value, so we want to disable it at least on SmartOS.
This commit is contained in:
parent
977e211421
commit
7864bb9eb8
@ -34,8 +34,13 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
'Release': {
|
'Release': {
|
||||||
|
'conditions': [
|
||||||
|
[ 'OS!="solaris"', {
|
||||||
|
'cflags': [ '-fomit-frame-pointer' ]
|
||||||
|
}],
|
||||||
|
],
|
||||||
# 'defines': [ 'NDEBUG' ],
|
# 'defines': [ 'NDEBUG' ],
|
||||||
'cflags': [ '-O3', '-fomit-frame-pointer', '-fdata-sections', '-ffunction-sections' ],
|
'cflags': [ '-O3', '-fdata-sections', '-ffunction-sections' ],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['target_arch=="x64"', {
|
['target_arch=="x64"', {
|
||||||
'msvs_configuration_platform': 'x64',
|
'msvs_configuration_platform': 'x64',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user