mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-slava86.git
synced 2025-02-23 23:42:54 +00:00
Updated chromium-compiler-r4.patch
This commit is contained in:
parent
c96274faea
commit
e5d75c1c36
1 changed files with 35 additions and 13 deletions
|
@ -1,6 +1,17 @@
|
|||
--- chromium-78.0.3904.21/build/config/compiler/BUILD.gn.build-gentoo 2019-09-19 20:50:21.000000000 +0200
|
||||
+++ chromium-78.0.3904.21/build/config/compiler/BUILD.gn 2019-09-21 21:08:53.313381239 +0200
|
||||
@@ -250,8 +250,6 @@ config("compiler") {
|
||||
From a1207cc75454e653030716948d27ec27412f6fe8 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Gilbert <floppym@gentoo.org>
|
||||
Date: Sat, 16 Jun 2019 15:43:27 +0100
|
||||
Subject: [PATCH] Disable various compiler configs
|
||||
|
||||
---
|
||||
build/config/compiler/BUILD.gn | 64 +++++++++++++---------------------
|
||||
1 file changed, 25 insertions(+), 39 deletions(-)
|
||||
|
||||
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
||||
index a3f21b7..0a7bec6 100644
|
||||
--- a/build/config/compiler/BUILD.gn
|
||||
+++ b/build/config/compiler/BUILD.gn
|
||||
@@ -230,8 +230,6 @@ config("compiler") {
|
||||
|
||||
configs += [
|
||||
# See the definitions below.
|
||||
|
@ -9,16 +20,27 @@
|
|||
":compiler_codegen",
|
||||
":compiler_deterministic",
|
||||
]
|
||||
@@ -1436,9 +1434,6 @@ config("default_warnings") {
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63872
|
||||
cflags += [ "-Wno-unused-local-typedefs" ]
|
||||
@@ -471,20 +469,6 @@ config("compiler") {
|
||||
}
|
||||
}
|
||||
|
||||
- # Don't warn about "maybe" uninitialized. Clang doesn't include this
|
||||
- # in -Wall but gcc does, and it gives false positives.
|
||||
- cflags += [ "-Wno-maybe-uninitialized" ]
|
||||
cflags += [ "-Wno-deprecated-declarations" ]
|
||||
|
||||
# -Wcomment gives too many false positives in the case a
|
||||
- if (is_clang && !is_nacl && !use_xcode_clang) {
|
||||
- cflags += [ "-fcrash-diagnostics-dir=" +
|
||||
- rebase_path("//tools/clang/crashreports", root_build_dir) ]
|
||||
-
|
||||
- cflags += [
|
||||
- # TODO(hans): Remove this once Clang generates better optimized debug info
|
||||
- # by default. https://crbug.com/765793
|
||||
- "-Xclang",
|
||||
- "-mllvm",
|
||||
- "-Xclang",
|
||||
- "-instcombine-lower-dbg-declare=0",
|
||||
- ]
|
||||
- }
|
||||
-
|
||||
# C11/C++11 compiler flags setup.
|
||||
# ---------------------------
|
||||
if (is_linux || is_android || (is_nacl && is_clang) || current_os == "aix") {
|
||||
@@ -1507,38 +1502,6 @@ config("default_warnings") {
|
||||
# Currently goma can not handle case sensitiveness for windows well.
|
||||
cflags += [ "-Wno-nonportable-include-path" ]
|
||||
|
@ -78,7 +100,7 @@
|
|||
|
||||
# In Chromium code, we define __STDC_foo_MACROS in order to get the
|
||||
# C99 macros on Mac and Linux.
|
||||
@@ -1562,15 +1526,6 @@ config("chromium_code") {
|
||||
@@ -1546,15 +1532,6 @@ config("chromium_code") {
|
||||
"__STDC_FORMAT_MACROS",
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue