mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +01:00
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': {
|
||||
'conditions': [
|
||||
[ 'OS!="solaris"', {
|
||||
'cflags': [ '-fomit-frame-pointer' ]
|
||||
}],
|
||||
],
|
||||
# 'defines': [ 'NDEBUG' ],
|
||||
'cflags': [ '-O3', '-fomit-frame-pointer', '-fdata-sections', '-ffunction-sections' ],
|
||||
'cflags': [ '-O3', '-fdata-sections', '-ffunction-sections' ],
|
||||
'conditions': [
|
||||
['target_arch=="x64"', {
|
||||
'msvs_configuration_platform': 'x64',
|
||||
|
Loading…
Reference in New Issue
Block a user