[cfe-commits] [patch][clang] Set the default arch based on the triple

Rafael Espindola espindola at google.com
Sun Jun 27 15:27:26 PDT 2010

With the attached patch the clang driver will set the default -march
based on the target triple. This changes two things

*) clang  -ccc-host-triple armv7a-unknown-linux-gnueabi will now
generate code for armv7
*) A clang compiled with ./configure ...
--target=armv7a-unknown-linux-gnueabi will produce code form armv7 by

Is it OK?

Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: triple.patch
Type: text/x-patch
Size: 6149 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100627/81910472/attachment.bin>

More information about the cfe-commits mailing list