diff options
Diffstat (limited to 'dev-util/electron/files/chromium-linker-warnings-r0.patch')
-rw-r--r-- | dev-util/electron/files/chromium-linker-warnings-r0.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-util/electron/files/chromium-linker-warnings-r0.patch b/dev-util/electron/files/chromium-linker-warnings-r0.patch new file mode 100644 index 000000000000..97d5e1670bdb --- /dev/null +++ b/dev-util/electron/files/chromium-linker-warnings-r0.patch @@ -0,0 +1,18 @@ +--- build/config/compiler/BUILD.gn.orig 2016-05-30 13:50:15.341749039 +0000 ++++ build/config/compiler/BUILD.gn 2016-05-30 13:50:30.502061407 +0000 +@@ -203,15 +203,6 @@ + cflags += [ "-fstack-protector" ] + } + } +- +- # Linker warnings. +- 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(lizeb,pasko): Fix link errors when linking with order_profiling=1 +- # crbug.com/485542 +- ldflags += [ "-Wl,--fatal-warnings" ] +- } + } + + if (is_clang && is_debug) { |