diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-06-10 06:30:38 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-06-10 06:30:38 +0200 |
commit | a505fe156ba508d200731bc0e8f54d87dc7c4a8c (patch) | |
tree | 20baafd2a668782c5b8b746bb429506b2dec0a68 /build.c | |
parent | 01a97804ad06fc38800ec5520c715f4f6af3892c (diff) | |
download | kit-a505fe156ba508d200731bc0e8f54d87dc7c4a8c.zip |
Cleanup
Diffstat (limited to 'build.c')
-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 = "-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) { |