summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorcraig.schlenter@chromium.org <craig.schlenter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 17:02:20 +0000
committercraig.schlenter@chromium.org <craig.schlenter@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-28 17:02:20 +0000
commite215b1d74a767e0580e4f338c9e108637eb74870 (patch)
tree68f7a3730b44d0092620a5227a24e40d81941a9f /chrome
parent4feca4bc5a385528932f93e74ef197626b0d82d5 (diff)
downloadchromium_src-e215b1d74a767e0580e4f338c9e108637eb74870.zip
chromium_src-e215b1d74a767e0580e4f338c9e108637eb74870.tar.gz
chromium_src-e215b1d74a767e0580e4f338c9e108637eb74870.tar.bz2
Linux: Use -fno-ipa-cp for gcc 4.5 to make omnibox searching work.
BUG=41887 TEST=omnibox searching works with gcc 4.5 Review URL: http://codereview.chromium.org/4116008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/chrome_browser.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 0da2e82..ad6c51b 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -4092,6 +4092,13 @@
},
],
}],
+ ['OS=="linux" and gcc_version==45', {
+ # Avoid gcc 4.5 miscompilation of template_url.cc
+ # as per http://crbug.com/41887
+ 'cflags': [
+ '-fno-ipa-cp',
+ ],
+ }],
],
# Exclude files that should be excluded for all non-Windows platforms.
'sources!': [