summaryrefslogtreecommitdiffstats
path: root/webkit/build
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 19:12:07 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 19:12:07 +0000
commit3975e6e094b6557215748d91c89394cb54532c23 (patch)
treef814aac45540e4cc1ff73cbc8ff0b17646c6308b /webkit/build
parentce30da19b5ac11c5681ef44b6cd49ddc39c0743d (diff)
downloadchromium_src-3975e6e094b6557215748d91c89394cb54532c23.zip
chromium_src-3975e6e094b6557215748d91c89394cb54532c23.tar.gz
chromium_src-3975e6e094b6557215748d91c89394cb54532c23.tar.bz2
Some changes necessary to build an optimized binary on Linux.
Two other speedup changes that I'm not including: root_env = Environment( tools = ['component_setup'], + RPATH=[], And linux_env.Tool('target_platform_linux') -linux_env.Tool('target_debug') +linux_env.Tool('target_optimized') Review URL: http://codereview.chromium.org/10292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/build')
-rw-r--r--webkit/build/V8Bindings/SConscript13
1 files changed, 9 insertions, 4 deletions
diff --git a/webkit/build/V8Bindings/SConscript b/webkit/build/V8Bindings/SConscript
index 4517df0..9d904cb 100644
--- a/webkit/build/V8Bindings/SConscript
+++ b/webkit/build/V8Bindings/SConscript
@@ -26,10 +26,15 @@ if env['PLATFORM'] == 'win32':
else:
# We need to include the parts of icu and libxml that we want here:
env.Append(
- CPPPATH = [
- '$ICU38_DIR/public/common',
- '$LIBXML_DIR/include',
- ])
+ CCFLAGS = [
+ # TODO(port): fix HTMLNames etc. generator and remove this.
+ '-fno-strict-aliasing',
+ ],
+ CPPPATH = [
+ '$ICU38_DIR/public/common',
+ '$LIBXML_DIR/include',
+ ]
+ )
inputs = [
'$SHARED_DIR/PausedTimeouts.cpp',