summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {