summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rwxr-xr-xchrome/chrome.gyp9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 69f9687..a876f40 100755
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -4805,6 +4805,15 @@
],
}],
['OS=="linux"', {
+ 'conditions': [
+ [ 'gcc_version==44', {
+ # Avoid gcc 4.4 strict aliasing issues in stl_tree.h when
+ # building mru_cache_unittest.cc.
+ 'cflags': [
+ '-fno-strict-aliasing',
+ ],
+ }],
+ ],
'dependencies': [
'../build/linux/system.gyp:gtk',
'../build/linux/system.gyp:nss',