Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information...
davepacheco authored and bnoordhuis committed Feb 8, 2012
1 parent 977e211 commit 7864bb9eb8211a6b5dfdaa65456ba05b393a6161
Showing with 6 additions and 1 deletion.
  1. +6 −1 common.gypi
@@ -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',

0 comments on commit 7864bb9

Please sign in to comment.
You can’t perform that action at this time.