Chromium Code Reviews| Index: build/config/compiler/BUILD.gn |
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
| index 8ddbf7ed8aa6cf3f853a371a3f26bb9d79b0bc4a..c703b2290eab3f8515d1eaebab2ae856948a3786 100644 |
| --- a/build/config/compiler/BUILD.gn |
| +++ b/build/config/compiler/BUILD.gn |
| @@ -163,7 +163,7 @@ config("compiler") { |
| } else if (is_posix && !is_chromeos && !is_nacl) { |
| # TODO(phajdan.jr): Use -fstack-protector-strong when our gcc supports it. |
| cflags += [ "--param=ssp-buffer-size=4" ] |
| - if (is_android && (current_cpu == "arm64" || current_cpu == "x86")) { |
|
agrieve
2016/02/04 02:15:47
Hmm, yeah, i got nothing :(.
Could you also add t
|
| + if (is_android && current_cpu == "x86") { |
| cflags += [ "-fno-stack-protector" ] |
| } else { |
| cflags += [ "-fstack-protector" ] |