diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-06-10 06:34:45 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-06-10 06:34:45 +0200 |
commit | 885d7075cc85f2ec94a23fe1296069c64e32c886 (patch) | |
tree | 36c022511c6ae4024c9094442d87e6a721b0dfae | |
parent | a505fe156ba508d200731bc0e8f54d87dc7c4a8c (diff) | |
download | kit-885d7075cc85f2ec94a23fe1296069c64e32c886.zip |
build.c: disable missing braces warning
-rwxr-xr-x | build.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -341,9 +341,9 @@ i32 main(i32 argc, c8 **argv) { if (str_eq_lower(build_type, "release")) flags = "-O3 -DNDEBUG"; else if (OS != WINDOWS && str_eq(compiler_c, "gcc") && !STATIC_RUNTIME) - flags = "-Wall -Wextra -Wno-missing-field-initializers -Werror -pedantic -O0 -fsanitize=undefined,address,leak -mshstk"; + flags = "-Wall -Wextra -Wno-missing-braces -Wno-missing-field-initializers -Werror -pedantic -O0 -fsanitize=undefined,address,leak -mshstk"; else - flags = "-Wall -Wextra -Wno-missing-field-initializers -Werror -pedantic -O0"; + flags = "-Wall -Wextra -Wno-missing-braces -Wno-missing-field-initializers -Werror -pedantic -O0"; } if (OS == WINDOWS) { |