From 80e7040d0c6c8121d3d07b108edc1a0fc68ff8be Mon Sep 17 00:00:00 2001 From: herman ten brugge Date: Mon, 18 Aug 2025 22:28:05 +0200 Subject: [PATCH] tcc loops with some input arguments This is one example: tcc -c a b -o c Detected with some configure scripts. --- tcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcc.c b/tcc.c index 623aabd1..7b19b4ee 100644 --- a/tcc.c +++ b/tcc.c @@ -324,7 +324,7 @@ redo: print_search_dirs(s); } if (opt < 0) err: - ret = 1; + ret = 1, opt = -1; if (opt) { tcc_delete(s); return ret;