Fix -pthread option handling
commit3f8225509b0b8af534ba0856b2aeb01a3310d826
authorMichael Matz <matz@suse.de>
Sat, 23 Dec 2017 13:14:57 +0000 (23 14:14 +0100)
committerMichael Matz <matz@suse.de>
Sat, 23 Dec 2017 13:14:57 +0000 (23 14:14 +0100)
treef45611ab7b2684f0baaa0b6f027d638b99bfcd72
parentd348a9a51d32cece842b7885d27a411436d7887b
Fix -pthread option handling

adding -pthread confused option parsing as the number of file counting
came out wrong.  Simplify and fit it, can be handled purely within
option parsing, no need for a state flag.
libtcc.c
tcc.c
tcc.h