Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 64bbd6394ea80d7e263ccead8aa19b4fe96b62f6..01136dca86645cfc7ff178f8a73b903558907aad 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', |