diff options
| author | grischka <grischka> | 2016-10-01 20:49:38 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2016-10-01 20:49:38 +0200 |
| commit | 2f1174550e9b2356b7cebe9346858b1f1155520e (patch) | |
| tree | 4bc30e1ddd0570c2c0dc523bbd35d52496b1f4be /tcc.c | |
| parent | 2d6aa65067b6d1127abb62bd11d2ddaf6b4cf492 (diff) | |
| download | tinycc-2f1174550e9b2356b7cebe9346858b1f1155520e.tar.gz tinycc-2f1174550e9b2356b7cebe9346858b1f1155520e.tar.bz2 | |
libtcc: -Wl,... incremental parsing
parse -Wl linker options immediately
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -303,6 +303,9 @@ int main(int argc, char **argv) if (!s->ppfp) tcc_error("could not write '%s'", s->outfile); } + } else if (s->output_type != TCC_OUTPUT_OBJ) { + if (s->option_pthread) + tcc_set_options(s, "-lpthread"); } if (s->do_bench) |
