summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index e2b3cde..b6392cc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -362,8 +362,9 @@ int main(int argc, char **argv)
// If using cosmocc, it handles these usually, but keeping them is okay for Linux targets
snprintf(cmd, sizeof(cmd), "%s %s %s %s %s -o %s %s %s %s -I./src %s", g_config.cc,
- g_config.gcc_flags, g_cflags, g_config.is_freestanding ? "-ffreestanding" : "", "",
- outfile, temp_source_file, math_flag, thread_flag, g_link_flags);
+ g_config.gcc_flags, g_cflags, g_config.is_freestanding ? "-ffreestanding" : "",
+ g_config.quiet ? "-w" : "", outfile, temp_source_file, math_flag, thread_flag,
+ g_link_flags);
if (g_config.verbose)
{