diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/build/common.gypi b/build/common.gypi index cb71023..997cd9e 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -495,11 +495,7 @@ 'cflags': [ '<(werror)', # See note above about the werror variable. '-pthread', - # We don't use exceptions. By disabling exceptions - # (and asynchronous-unwind-tables), we shave off 2.5mb from - # our resulting binary by not including the eh_frame section. '-fno-exceptions', - '-fno-asynchronous-unwind-tables', '-fvisibility=hidden', '-Wall', '-D_FILE_OFFSET_BITS=64', @@ -612,6 +608,11 @@ # can be removed at link time with --gc-sections. '-fdata-sections', '-ffunction-sections', + # We don't use exceptions. The eh_frame section is used for those + # and for symbolizing backtraces. By passing this flag we drop + # the eh_frame section completely, we shaving off 2.5mb from + # our resulting binary. + '-fno-asynchronous-unwind-tables', ], 'ldflags': [ '-Wl,--gc-sections', |