diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 6a703ab..2f6789d 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -500,7 +500,11 @@ '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', |