Index: components/crash/content/app/BUILD.gn |
diff --git a/components/crash/content/app/BUILD.gn b/components/crash/content/app/BUILD.gn |
index d43804b7cff63498012a0b1d4ea5b8bbe7865338..b8042e29ad493fbfed49e87a15885de8ebc628f8 100644 |
--- a/components/crash/content/app/BUILD.gn |
+++ b/components/crash/content/app/BUILD.gn |
@@ -113,6 +113,13 @@ source_set("app_non_mac") { |
defines += [ "CHROME_BUILD_ID=" + android_chrome_build_id ] |
} |
+ if (current_cpu == "x86" && is_clang) { |
+ # Clang's -mstackrealign doesn't work well with |
+ # linux_syscall_support.h hand written asm syscalls. |
+ # See https://crbug.com/556393 |
+ cflags -= [ "-mstackrealign" ] |
+ } |
+ |
if (is_win) { |
deps += [ |
"//sandbox", |