| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index 7febde6b4710c292c213866e78d76fe81e6c926d..ed855b4d84d1bdab97b5573f1fce2e78b0aa4902 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -571,6 +571,12 @@ config("compiler") {
|
| # Let clang find the ld.gold in the NDK.
|
| ldflags += [ "--gcc-toolchain=$rebased_android_toolchain_root" ]
|
| }
|
| +
|
| + # Use -mstackrealign due to a bug on ia32 Jelly Bean.
|
| + # See crbug.com/521527
|
| + if (current_cpu == "x86") {
|
| + cflags += [ "-mstackrealign" ]
|
| + }
|
| }
|
|
|
| ldflags += [
|
|
|