summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-06-10 06:34:45 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-06-10 06:34:45 +0200
commit885d7075cc85f2ec94a23fe1296069c64e32c886 (patch)
tree36c022511c6ae4024c9094442d87e6a721b0dfae
parenta505fe156ba508d200731bc0e8f54d87dc7c4a8c (diff)
downloadkit-885d7075cc85f2ec94a23fe1296069c64e32c886.zip
build.c: disable missing braces warning
-rwxr-xr-xbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.c b/build.c
index 3c1cf79..a7b7440 100755
--- a/build.c
+++ b/build.c
@@ -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) {