meson: llvm: Use llvm-config's --cxxflags when building llvmjit

Andres Freund <andres@anarazel.de>

Commit: 908e17151b4834bd4bbfb703e206b68f5db341f9
Author: Andres Freund <andres@anarazel.de>
Date: 2022-10-03T21:55:52Z
Releases: 16.0
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.

Files

PathChange+/−
src/backend/jit/llvm/meson.build modified +1 −0