diff --git a/postgresql.spec b/postgresql.spec index 2a475f4..ad77571 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -765,6 +765,10 @@ rm $RPM_BUILD_ROOT/%{_datadir}/man/man1/ecpg.1 EOF %endif +# Let plugins use the same llvmjit settings as server has +cat <> $RPM_BUILD_ROOT%macrosdir/macros.%name +%%postgresql_server_llvmjit %llvmjit +EOF %if %test # tests. There are many files included here that are unnecessary, @@ -1218,6 +1222,9 @@ make -C postgresql-setup-%{setup_version} check - Build with a private libpq Resolves: #1967918 (also discussed in Fedora #1905584) +- Introduce postgresql_server_llvmjit macro to follow jit config of a server in + plugins + Related: #1951268 * Wed Jun 16 2021 Mohan Boddu - 13.2-7 - Rebuilt for RHEL 9 BETA for openssl 3.0