From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../electron/files/chromium-linker-warnings-r0.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 dev-util/electron/files/chromium-linker-warnings-r0.patch (limited to 'dev-util/electron/files/chromium-linker-warnings-r0.patch') 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) { -- cgit v1.2.3