summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-06-10 06:30:38 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-06-10 06:30:38 +0200
commita505fe156ba508d200731bc0e8f54d87dc7c4a8c (patch)
tree20baafd2a668782c5b8b746bb429506b2dec0a68 /build.c
parent01a97804ad06fc38800ec5520c715f4f6af3892c (diff)
downloadkit-a505fe156ba508d200731bc0e8f54d87dc7c4a8c.zip
Cleanup
Diffstat (limited to 'build.c')
-rwxr-xr-xbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.c b/build.c
index ea04495..3c1cf79 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 = "-O0 -fsanitize=undefined,address,leak";
+ flags = "-Wall -Wextra -Wno-missing-field-initializers -Werror -pedantic -O0 -fsanitize=undefined,address,leak -mshstk";
else
- flags = "-O0";
+ flags = "-Wall -Wextra -Wno-missing-field-initializers -Werror -pedantic -O0";
}
if (OS == WINDOWS) {