summaryrefslogtreecommitdiffstats
path: root/webkit/build
diff options
context:
space:
mode:
authormmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-03 21:22:54 +0000
committermmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-03 21:22:54 +0000
commitb86b35d3e188fa547f3b73de3c593a43e96895f7 (patch)
treea1966ab4e8ed9dac55cc2f16d6e307b5440d140c /webkit/build
parentf6b6e1845c027c3d859fa17035238e718e15166b (diff)
downloadchromium_src-b86b35d3e188fa547f3b73de3c593a43e96895f7.zip
chromium_src-b86b35d3e188fa547f3b73de3c593a43e96895f7.tar.gz
chromium_src-b86b35d3e188fa547f3b73de3c593a43e96895f7.tar.bz2
This fixes the gcc 4.1.3 build breakage due to:
src/webkit/port/history/BackForwardList.h:58: warning: 'class WebCore::BackForwardListClient' has virtual functions but non-virtual destructor git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1691 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/build')
-rw-r--r--webkit/build/V8Bindings/SConscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/build/V8Bindings/SConscript b/webkit/build/V8Bindings/SConscript
index d21769a..888a9b1 100644
--- a/webkit/build/V8Bindings/SConscript
+++ b/webkit/build/V8Bindings/SConscript
@@ -31,7 +31,11 @@ else:
])
if env['PLATFORM'] == 'posix':
- env.Append(CCFLAGS = '-Wno-unused-variable');
+ # Don't flag warnings for third-party code.
+ if '-Wall' in env['CCFLAGS']:
+ env['CCFLAGS'].remove('-Wall')
+ if '-Werror' in env['CCFLAGS']:
+ env['CCFLAGS'].remove('-Werror')
inputs = [
'$SHARED_DIR/PausedTimeouts.cpp',