Re: [PATCH] Add an ldflags_sl meson build option

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: "Matt Smith (matts3)" <matts3(at)cisco(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Add an ldflags_sl meson build option
Date: 2025-06-17 09:01:13
Message-ID: 6fca20e8-01d6-41dc-82f0-c6eb4472f06a@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 17.06.25 00:50, Matt Smith (matts3) wrote:
> I have a Bazel toolchain that sets different linker flags for exe/shared
> lib.
>
> I wanted to build postgresql shared libs with meson using the same
> toolchain flags that I build all my other 3rd party deps in Bazel.
>
> Currently for postgresql builds, we set LDFLAGS to the Bazel toolchain
> executable flags which means that any postgresql shared_library() gets
> the exe flags.

Ok, but what kinds of flags does that build system want to pass through,
what kinds of effects are you looking for?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2025-06-17 09:08:50 Re: Avoid possible dereference null pointer (contrib/postgres_fdw/postgres_fdw.c)
Previous Message John Naylor 2025-06-17 08:55:06 Re: Improve CRC32C performance on SSE4.2