diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/electron/files/chromium-linker-warnings-r0.patch |
reinit the tree, so we can have metadata
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) { |