Emit spaces for -MD
commit0394caf784124f867d9294dab700e6005e99cea4
authorMichael Matz <matz@suse.de>
Sun, 13 May 2012 00:03:47 +0000 (13 02:03 +0200)
committerMichael Matz <matz@suse.de>
Sun, 13 May 2012 00:03:47 +0000 (13 02:03 +0200)
tree234e63b82603d81790759a7704743c324fb4f691
parent9ca9c82ff8a4001299a4b9666d85352f5806d565
Emit spaces for -MD

TCCs make dependency generator is incompatible with the GNU
depcomp script which is widely used.  For TCC it has to go over
the output of -MD, (it detects it as ICC compatible), but the
sed commands it uses are confused by tabs in the output, so that
some rewrites aren't done.

Those tabs will then finally confuse make itself when the
generated .d files are included.  It reads them as goal commands
(leading tab), and is totally lost then.

Short of changing depcomp (hard because distributed with all kinds
of software), simply emit spaces for -MD.
libtcc.c