r231787 - Allow -target= and --target options

Chandler Carruth chandlerc at google.com
Wed Mar 11 14:28:25 PDT 2015


On Wed, Mar 11, 2015 at 2:27 PM, Richard Smith <richard at metafoo.co.uk>
wrote:

> The previous state was that we allowed -target blah and --target=blah, but
> not -target=blah nor --target blah. This new state seems better than that
> in some ways, but neither is particularly satisfactory.


The support for '-target blah' was kept for compatibility with old versions
of Clang where folks may have made their build systems rely on it.

We probably should have some marking in the .td file for options that are
purely for historical compatibility (as opposed to cross-tool
compatibility) and sunset them after an appropriately long timeframe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150311/654d8900/attachment.html>


More information about the cfe-commits mailing list