[cfe-commits] [llvm-commits] [PATCH] Fix for bug 11060: configure --target does not work

Sebastian Pop spop at codeaurora.org
Thu Oct 13 10:55:09 PDT 2011

On Thu, Oct 13, 2011 at 12:26 PM, Joerg Sonnenberger
<joerg at britannica.bec.de> wrote:
> On Thu, Oct 13, 2011 at 11:51:10AM -0500, Sebastian Pop wrote:
>> The first patch 0001-add-getDefaultTargetTriple.patch defines
>> LLVM_DEFAULT_TARGET_TRIPLE based on the value of $target set by
>> the configure script.  This is then used in llvm::sys::getDefaultTargetTriple
>> to return the triple corresponding to the target architecture.
> Please fix it to just derive LLVM_HOSTTRIPLE from $target and not $host.

I do not think this is correct: setting host from target
will just confuse people.


More information about the cfe-commits mailing list