History

libtcc: Avoid a regression for some usecases

Thanks tylo for hints on the mailing list -- Regards ... Detlef

Detlef Riekenberg committed 1 year ago

Commit f2b9fcf1 parent 59aecdb1 file · +1 −1Browse files

Unified · Split

libtcc.c+1−1
@@ -2089,7 +2089,7 @@ PUB_FUNC int tcc_parse_args(TCCState *s, int *pargc, char ***pargv) · 2088 unmodified lines
2089 s->gen_deps = 1;2089 s->gen_deps = 1;
2090 /* usually, only "-MMD" is used */2090 /* usually, only "-MMD" is used */
2091 /* but the Linux Kernel uses "-MMD,depfile" */2091 /* but the Linux Kernel uses "-MMD,depfile" */
2092 if (optarg)2092 if ((optarg) && (*optarg != '\0'))
2093 tcc_set_str(&s->deps_outfile, optarg);2093 tcc_set_str(&s->deps_outfile, optarg);
2094 break;2094 break;
2095 case TCC_OPTION_MD:2095 case TCC_OPTION_MD:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t