Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: webkit/webkit.gyp

Issue 173565: Avoid gcc 4.4 plugin crash by using -O1 instead of -O2 for webkit glue. (Closed)
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/webkit.gyp
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp
index 3092d233dfe26786fd7f16820b5e44fadd04e874..e51c79f72b392cc83da78ff691c050a9b375c124 100644
--- a/webkit/webkit.gyp
+++ b/webkit/webkit.gyp
@@ -1485,6 +1485,17 @@
],
'conditions': [
['OS=="linux"', {
+ # Avoid gcc 4.4 plugin crash. See http://crbug.com/20045 for details.
+ 'conditions': [
+ [ 'gcc_version=="44"', {
+ 'cflags!': [
+ '-O2',
+ ],
+ 'cflags': [
+ '-O1',
+ ],
+ }],
+ ],
'dependencies': [
'../build/linux/system.gyp:gtk',
'../base/base.gyp:linux_versioninfo',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698