summaryrefslogtreecommitdiffstats
path: root/build/SConscript.main
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-03 00:25:12 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-03 00:25:12 +0000
commit43580bccc6a865e8998b7528fa58d77cddfd0bdd (patch)
tree47e516518176e67ad6342b98db13f111ac63c6d4 /build/SConscript.main
parent040aa40caee63b733c146f91cf59b85a4a946033 (diff)
downloadchromium_src-43580bccc6a865e8998b7528fa58d77cddfd0bdd.zip
chromium_src-43580bccc6a865e8998b7528fa58d77cddfd0bdd.tar.gz
chromium_src-43580bccc6a865e8998b7528fa58d77cddfd0bdd.tar.bz2
GCC 4.3 build fixes.
BUG=241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/SConscript.main')
-rw-r--r--build/SConscript.main2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/SConscript.main b/build/SConscript.main
index de3fa16..8563107 100644
--- a/build/SConscript.main
+++ b/build/SConscript.main
@@ -348,6 +348,8 @@ elif env['PLATFORM'] == 'posix':
]
env.Replace(
CCFLAGS = ['-m32', '-g', '-pthread', '-Wall', '-Werror'] + excluded_warnings,
+ # Needed for using ext/hash_map on GCC 4.3
+ CXXFLAGS = ['-Wno-deprecated'],
LINKFLAGS = ['-m32', '-pthread'],
# We need rt for clock_gettime.
LIBS = ['rt'],