Index: components/crash/content/app/BUILD.gn |
diff --git a/components/crash/content/app/BUILD.gn b/components/crash/content/app/BUILD.gn |
index 52140ce48d78a2cdfe8f5647fdcd920480c93ba2..f08809045b010d49c3b72828ef2db942df633d25 100644 |
--- a/components/crash/content/app/BUILD.gn |
+++ b/components/crash/content/app/BUILD.gn |
@@ -116,12 +116,10 @@ source_set("app_non_mac_win") { |
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" ] |
- } |
+ # Clang's -mstackrealign doesn't work well with |
+ # linux_syscall_support.h hand written asm syscalls. |
+ # See https://crbug.com/556393 |
+ configs -= [ "//build/config/compiler:clang_stackrealign" ] |
if (is_win) { |
deps += [ |