mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 06:14:33 +00:00
libtsan: Disable warnings when building.
This commit is contained in:
parent
d14f7f7a09
commit
2a55fcd03a
1 changed files with 1 additions and 0 deletions
|
|
@ -346,6 +346,7 @@ fn addCcArgs(target: std.Target, args: *std.ArrayList([]const u8)) error{OutOfMe
|
||||||
"-std=c++17",
|
"-std=c++17",
|
||||||
"-fno-rtti",
|
"-fno-rtti",
|
||||||
"-fno-exceptions",
|
"-fno-exceptions",
|
||||||
|
"-w", // Disable all warnings.
|
||||||
});
|
});
|
||||||
|
|
||||||
if (target.abi.isAndroid() and target.os.version_range.linux.android >= 29) {
|
if (target.abi.isAndroid() and target.os.version_range.linux.android >= 29) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue