forked from OSchip/llvm-project
Use getProcessTriple inside HostInfoBase::ComputeHostArchitectureSupport instead of getDefaultTargetTriple.
http://reviews.llvm.org/D7893 llvm-svn: 230674
This commit is contained in:
parent
54ef895137
commit
b071bee295
|
@ -367,7 +367,7 @@ HostInfoBase::ComputeUserPluginsDirectory(FileSpec &file_spec)
|
||||||
void
|
void
|
||||||
HostInfoBase::ComputeHostArchitectureSupport(ArchSpec &arch_32, ArchSpec &arch_64)
|
HostInfoBase::ComputeHostArchitectureSupport(ArchSpec &arch_32, ArchSpec &arch_64)
|
||||||
{
|
{
|
||||||
llvm::Triple triple(llvm::sys::getDefaultTargetTriple());
|
llvm::Triple triple(llvm::sys::getProcessTriple());
|
||||||
|
|
||||||
arch_32.Clear();
|
arch_32.Clear();
|
||||||
arch_64.Clear();
|
arch_64.Clear();
|
||||||
|
|
Loading…
Reference in New Issue