| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index 67505a030c84a23eebd482ab295ef06739ccaa9e..1a7b68bbe59abd6a55fcb37cf5d3bc4b704af7ce 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -141,8 +141,11 @@ config("compiler") {
|
| }
|
|
|
| # Linker warnings.
|
| - if (!(is_chromeos && current_cpu == "arm") && !is_mac && !is_ios) {
|
| + if (!(is_chromeos && current_cpu == "arm") &&
|
| + !(is_android && use_order_profiling) && !is_mac && !is_ios) {
|
| # TODO(jochen): Enable this on chromeos on arm. http://crbug.com/356580
|
| + # TODO(azarchs): Fix link errors when linking with order_profiling=1
|
| + # crbug.com/485542
|
| ldflags += [ "-Wl,--fatal-warnings" ]
|
| }
|
| }
|
|
|