Monday, April 01, 2019

Re: devel/appstream-glib on ld.bfd archs

On Mon, Apr 01 2019, Landry Breuil <landry@openbsd.org> wrote:
> On Mon, Apr 01, 2019 at 04:04:58PM +0200, Jeremie Courreges-Anglas wrote:
>>
>> As shown in Landry's last powerpc bulk[0], appstream-glib doesn't build
>> on ld.bfd archs. Here's a workaround taken from ncmpc / gvfs: disable
>> the use of -Wl,--as-needed.
>>
>> ok?
>
> if it works okay,

It does, on amd64 (USE_LLD=No) and sparc64.

> although i'm less and less comfortable seeing those
> .include <bsd.port.arch.mk> popping around here and there at random
> places in makefiles..

Well there is no standard place where to add those. Usually the
construct is added where it is needed to amend behavior.

> cant this have side effects ?

I am not aware of any negative side effects.

Are you more comfortable now? :)

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

No comments:

Post a Comment