Linux: Do not include CFI data in the .eh_frame section for 32-bit release builds. This reduces output binary size and does not seem to have an affect on crash reports.
Review URL: https://chromiumcodereview.appspot.com/12330039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184018 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index 9f58f64a..a1aa02fe 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2597,6 +2597,14 @@
'-g',
],
}],
+ # Can be omitted to reduce output size. Does not seem to affect
+ # crash reporting.
+ ['target_arch=="ia32"', {
+ 'cflags': [
+ '-fno-unwind-tables',
+ '-fno-asynchronous-unwind-tables',
+ ],
+ }],
],
},
},