summaryrefslogtreecommitdiff
path: root/config/llvm.m4
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2018-08-24 10:20:55 -0700
committerAndres Freund <andres@anarazel.de>2018-08-24 10:21:48 -0700
commit24f127b0042e6bd70e3076cfe0cf13e3bc481037 (patch)
tree4f89898e7c8305c34368ac164491f2c642b6b8af /config/llvm.m4
parent7ed1db3f4625c4cb873a21c380913433820d50ce (diff)
LLVMJIT: LLVMGetHostCPUFeatures now is upstream, use LLMV version if available.
Noticed thanks to buildfarm animal seawasp. Author: Andres Freund Backpatch: v11-, where LLVM based JIT compliation was introduced.
Diffstat (limited to 'config/llvm.m4')
-rw-r--r--config/llvm.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/llvm.m4 b/config/llvm.m4
index 09ff6812280..7d81ac0b997 100644
--- a/config/llvm.m4
+++ b/config/llvm.m4
@@ -95,7 +95,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT],
SAVE_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $LLVM_CPPFLAGS"
AC_CHECK_DECLS([LLVMOrcGetSymbolAddressIn], [], [], [[#include <llvm-c/OrcBindings.h>]])
- AC_CHECK_DECLS([LLVMGetHostCPUName], [], [], [[#include <llvm-c/TargetMachine.h>]])
+ AC_CHECK_DECLS([LLVMGetHostCPUName, LLVMGetHostCPUFeatures], [], [], [[#include <llvm-c/TargetMachine.h>]])
AC_CHECK_DECLS([LLVMCreateGDBRegistrationListener, LLVMCreatePerfJITEventListener], [], [], [[#include <llvm-c/ExecutionEngine.h>]])
CPPFLAGS="$SAVE_CPPFLAGS"