Skip to content

Commit

Permalink
Merge pull request #14 from mapbox/visibility-hidden
Browse files Browse the repository at this point in the history
GCC_SYMBOLS_PRIVATE_EXTERN
  • Loading branch information
mikemorris committed Oct 27, 2015
2 parents 1d58b25 + aae529a commit 4bb2f12
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions deps/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '0',
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES',
'DEAD_CODE_STRIPPING': 'NO',
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
'DEAD_CODE_STRIPPING': 'NO',
'OTHER_CPLUSPLUSFLAGS': [ '-std=c++1y', '-fno-omit-frame-pointer','-fwrapv', '-fstack-protector-all', '-fno-common'],
}
},
'Release': {
'cflags_cc': [ '-g', '-O3', '-std=c++1y' ],
'cflags_cc': [ '-g', '-O3', '-std=c++1y', '-fvisibility=hidden' ],
'defines': [ 'NDEBUG' ],
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '3',
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES',
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES',
'DEAD_CODE_STRIPPING': 'NO',
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'NO',
'OTHER_CPLUSPLUSFLAGS': [ '-std=c++1y' ],
}
},
Expand Down

0 comments on commit 4bb2f12

Please sign in to comment.