summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 08:16:31 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-19 08:16:31 +0000
commitd35d1758d1603f1602c5d3387d59d73b6c0a6dd6 (patch)
tree40de17a645a7063e212edb4572be75487efddb39 /build
parent905a08d1f74eced28716bb082e8f0bc08e2136e1 (diff)
downloadchromium_src-d35d1758d1603f1602c5d3387d59d73b6c0a6dd6.zip
chromium_src-d35d1758d1603f1602c5d3387d59d73b6c0a6dd6.tar.gz
chromium_src-d35d1758d1603f1602c5d3387d59d73b6c0a6dd6.tar.bz2
Don't build with exception support, we don't use exceptions.
This makes the output executable substantially smaller because it won't emit .eh_frame and .eh_frame_hdr header sections. These were previously ~1.2mb for an opt test_shell. Review URL: http://codereview.chromium.org/11265 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/SConscript.main2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/SConscript.main b/build/SConscript.main
index 74203e8..b7665b5 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -473,7 +473,7 @@ linux_env.Append(
BUILD_SCONSCRIPTS = [
'$LIBEVENT_DIR/libevent.scons',
],
- CCFLAGS = ['-m32', '-pthread', '-march=i686'],
+ CCFLAGS = ['-m32', '-pthread', '-march=i686', '-fno-exceptions'],
CXXFLAGS = ['-Wall', '-Werror', '-march=i686'] + excluded_warnings,
LINKFLAGS = ['-m32', '-pthread'],
)