diff options
| author | Sebastian Pop <spop@codeaurora.org> | 2012-01-04 19:47:22 +0000 |
|---|---|---|
| committer | Sebastian Pop <spop@codeaurora.org> | 2012-01-04 19:47:22 +0000 |
| commit | 0f357d6c2240393b53d30cf79c2cd583192e5ed9 (patch) | |
| tree | 642c100b83b81b7f83bfe293c75df67f1ebff3e3 /llvm/configure | |
| parent | aac3e06bf73214a1f44dd40e98c9930b759ded38 (diff) | |
| download | bcm5719-llvm-0f357d6c2240393b53d30cf79c2cd583192e5ed9.tar.gz bcm5719-llvm-0f357d6c2240393b53d30cf79c2cd583192e5ed9.zip | |
use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT
Get back getHostTriple.
For JIT compilation, use the host triple instead of the default
target: this fixes some JIT testcases that used to fail when the
compiler has been configured as a cross compiler.
llvm-svn: 147542
Diffstat (limited to 'llvm/configure')
| -rwxr-xr-x | llvm/configure | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/configure b/llvm/configure index d0c3beb7eb4..5ea1319f0dc 100755 --- a/llvm/configure +++ b/llvm/configure @@ -20913,6 +20913,11 @@ _ACEOF cat >>confdefs.h <<_ACEOF +#define LLVM_HOST_TRIPLE "$host" +_ACEOF + + +cat >>confdefs.h <<_ACEOF #define LLVM_DEFAULT_TARGET_TRIPLE "$target" _ACEOF |

