]> granicus.if.org Git - clang/commit
Allow -target= and --target options
authorRenato Golin <renato.golin@linaro.org>
Tue, 10 Mar 2015 13:58:33 +0000 (13:58 +0000)
committerRenato Golin <renato.golin@linaro.org>
Tue, 10 Mar 2015 13:58:33 +0000 (13:58 +0000)
commit30035fe1a7c759c89ee62eb46efce6b3790fcc08
tree74fb87d18acc431dd3428cf97a81a35b9b196962
parent1acd90385d61d72b7ea25f193f77a9700414b637
Allow -target= and --target options

Using clang as a cross-compiler with the 'target' option could be confusing
for those inexperienced in the realm of cross compiling.

This patch would allow the use of all these four variants of the target option:
-target <triple>
--target <triple>
-target=<triple>
--target=<triple>

Patch by Gabor Ballabas.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231787 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
test/Driver/target.c