Re: [PATCH] perf build: Do not pass -static to dlfilters

From: Leo Yan

Date: Mon Jul 13 2026 - 14:15:20 EST


On Mon, Jul 06, 2026 at 05:03:57PM -0700, Namhyung Kim wrote:
> The recent commit caused a failure in make build-test for static builds.
> Let's not pass -static the option to dlfilters which is dynamically
> loaded as it's hard-coded with -shared even for static builds.
>
> Fixes: e1065ed188cf ("perf build: Add LDFLAGS to dlfilters .so link")
> Cc: Trevor Allison <tallison@xxxxxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Tested-by: Leo Yan <leo.yan@xxxxxxx>