Support linker options passed in several -Wl param
commit7fb0482a4645d59068ccefe44a3a022b649e5a3a
authorThomas Preud'homme <robotux@celest.fr>
Wed, 14 Mar 2012 23:22:00 +0000 (15 00:22 +0100)
committerThomas Preud'homme <robotux@celest.fr>
Wed, 14 Mar 2012 23:25:40 +0000 (15 00:25 +0100)
treefb46a6cc2c3073f59c87d8ba0efed47ba6c6ae75
parent1736a71b71221df7c81b0d3da25e774f3c4005d2
Support linker options passed in several -Wl param

ld support arguments to multiple-letter options being passed in two
ways:
* -opt=arg
* -opt arg

libtool generate command line of the second form. This commit add
support for the second form so that libtool works with tcc. The way it
is done is to concatenate all -Wl options into one and then pass it to
set_linker.
libtcc.c
tcc.c