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

Unified Diff: ui/gl/gl.gyp

Issue 676823002: Disable optimization for libmesa and libgl under UBSan to work around issue 426271 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Whitespace fix Created 6 years, 2 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 | « third_party/mesa/mesa.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl.gyp
diff --git a/ui/gl/gl.gyp b/ui/gl/gl.gyp
index f3be5b26472768cd3d54652f62aca66a5c075402..fdd227abb69b7514db7d5a1e87fa0e07f03ffb17 100644
--- a/ui/gl/gl.gyp
+++ b/ui/gl/gl.gyp
@@ -311,6 +311,14 @@
'../android/ui_android.gyp:ui_java',
],
}],
+ ['ubsan==1', {
+ # Due to a bug in LLVM (http://llvm.org/bugs/show_bug.cgi?id=21349),
+ # compilation hangs for some GL source files. Disable -O2 temporarily
+ # until http://crbug.com/426271 is fixed.
+ 'cflags!': [
+ '-O2',
+ ],
+ }],
],
},
{
« no previous file with comments | « third_party/mesa/mesa.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698