1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

multimedia/xine: set LLD_UNSAFE to avoid lld

xine relies on ld.bfd's permissive treatment of shared library symbols
with protected visibility, and attempting to link with lld fails with
errors like:

/usr/bin/ld: error: cannot preempt symbol: xine_usec_sleep
>>> defined in /usr/local/lib/libxine.so
>>> referenced by actions.c
>>>               actions.o:(wait_for_window_visible)

For now set LLD_UNSAFE=yes so that the port will continue to link with
ld.bfd if /usr/bin/ld is lld, until the issue can be addressed (with a
change in libxine or in lld).

PR:		214864
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2017-12-29 16:16:00 +00:00
parent f1583dff44
commit 85f5b16ff2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457511

View File

@ -27,6 +27,7 @@ INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
LLD_UNSAFE= yes # lld disallows preemption of protected visibility syms
DOCSDIR= ${PREFIX}/share/doc/xine-ui