meson: llvm: Use llvm-config's --cxxflags when building llvmjit
authorAndres Freund
Mon, 3 Oct 2022 21:52:51 +0000 (14:52 -0700)
committerAndres Freund
Mon, 3 Oct 2022 21:55:52 +0000 (14:55 -0700)
commit908e17151b4834bd4bbfb703e206b68f5db341f9
tree2fe8a00e093be8477153832f3ebe5b78378fab92
parent4a79fd1a754edcc85f9b94f17a2fb4576becf0a3
meson: llvm: Use llvm-config's --cxxflags when building llvmjit

Otherwise we don't use LLVM's flags when building llvmjit_wrap.cpp and
llvmjit_inline.cpp. That can cause compile time failures if the C++ compiler
doesn't default to a new enough C++ standards version and link time failures
due to ABI influencing flags like -fno-rtti.
src/backend/jit/llvm/meson.build