mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update for https://crbug.com/1300731
This commit is contained in:
parent
ee4e68e550
commit
f359435495
1 changed files with 12 additions and 0 deletions
|
@ -828,6 +828,11 @@ config("compiler") {
|
|||
# To make Rust .d files compatible with ninja
|
||||
"-Z",
|
||||
"dep-info-omit-d-target",
|
||||
|
||||
# If a macro panics during compilation, show which macro and where it is
|
||||
# defined.
|
||||
"-Z",
|
||||
"macro-backtrace",
|
||||
]
|
||||
if (rust_abi_target != "") {
|
||||
rustflags += [ "--target=$rust_abi_target" ]
|
||||
|
@ -1548,6 +1553,13 @@ config("default_warnings") {
|
|||
if (enable_wmax_tokens) {
|
||||
cflags += [ "-Wmax-tokens" ]
|
||||
}
|
||||
|
||||
if (llvm_force_head_revision) {
|
||||
cflags += [
|
||||
# TODO(https://crbug.com/1300731) Clean up and enable.
|
||||
"-Wno-unqualified-std-cast-call",
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue