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

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: llvm: Use llvm-config's --cxxflags when building llvmjit
Date: 2022-10-03 22:01:29
Message-ID: E1ofTVA-000m0A-Gx@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/908e17151b4834bd4bbfb703e206b68f5db341f9

Modified Files
--------------
src/backend/jit/llvm/meson.build | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-10-04 01:17:13 pgsql: Add filtering capability for cross-version pg_upgrade tests
Previous Message Tom Lane 2022-10-03 21:04:27 pgsql: Stamp 15rc2.