On Tue, May 13, 2025 at 06:12:23PM +0200, Markus Uhlin wrote:

> Hi ports@,

> I noticed that there's a linking error for net/swirc on sparc64:
> https://cranky.work/sparc64/2025-05-06/net/swirc.log

> Since I don't have access to a sparc64 I wonder if appending LDLIBS +=
> -lstdc++fs fixes it?
> If someone can confirm this it would be great.

Alas, it is not that easy. First, you cannot just unconditionally add
that without breaking architectures that are using clang, which doesn't
have the separate stdc++fs library.

Next up, I did try with some glue around it to only add it for sparc64,
but it still fails the same way. The build is ignoring the addition to
LDFLAGS (probably ignoring LDFLAGS completely).

--Kurt

Reply via email to