diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn index e56307005..b5db75b37 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn @@ -390,7 +390,9 @@ config("compiler") { ldflags += [ "-Wl,--fatal-warnings" ] } if (fatal_linker_warnings && is_apple) { - ldflags += [ "-Wl,-fatal_warnings" ] + if (!(is_ios && target_cpu == "x64")) { + ldflags += [ "-Wl,-fatal_warnings" ] + } } }