From a35f78db32f63b85703c334296e8b589b23e3c97 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Mon, 29 Aug 2016 16:49:05 +0200 Subject: [PATCH] [llvm] Fix the arm cross compiler build when using llvm 3.9. --- configure.ac | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 924acc99cdbb..21db9420c474 100644 --- a/configure.ac +++ b/configure.ac @@ -2856,13 +2856,12 @@ if test "x$enable_llvm" = "xyes"; then LLVM_SYSTEM_LIBS=`$LLVM_CONFIG --system-libs 2>/dev/null | grep -- -` llvm_jit_supported=yes llvm_jit_libs="jit mcjit $llvm_codegen" - if test $llvm_api_version -gt 100; then - # Based on llvm 3.9, only aot is currently supported - llvm_jit_libs="orcjit $llvm_codegen" - elif test "x$host" != "x$target"; then + if test "x$host" != "x$target"; then # No need for jit libs llvm_jit_supported=no llvm_jit_libs="" + elif test $llvm_api_version -gt 100; then + llvm_jit_libs="orcjit $llvm_codegen" fi LLVM_LIBS=`$LLVM_CONFIG --libs analysis core bitwriter $llvm_jit_libs` if test "x$LLVM_LIBS" = "x"; then