libtcc: -Wl,... incremental parsing

parse -Wl linker options immediately
This commit is contained in:
grischka
2016-10-01 20:49:38 +02:00
parent 2d6aa65067
commit 2f1174550e
3 changed files with 31 additions and 38 deletions

5
tcc.h
View File

@ -762,10 +762,7 @@ struct TCCState {
int do_bench; /* option -bench */
int gen_deps; /* option -MD */
char *deps_outfile; /* option -MF */
int args_pthread; /* -pthread option */
CString linker_arg; /* collect -Wl options for input such as "-Wl,-rpath -Wl,<path>" */
int args_ref; /* tcc_parse_args recursive counter */
int option_pthread; /* -pthread option */
};
struct filespec {