Skip to content

Commit

Permalink
[llvm] Fix the arm cross compiler build when using llvm 3.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz committed Aug 29, 2016
1 parent eb42f74 commit a35f78d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a35f78d

Please sign in to comment.