1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

audio/alure: set LLD_UNSAFE

Linking with LLD currently fails due to preemption of symbols with
protected visibility in a shared object:

/usr/bin/ld: error: cannot preempt symbol: alureInitDevice
>>> defined in libalure.so.1.2.0
>>> referenced by examples/alurestream.c
>>>               CMakeFiles/alurestream.dir/examples/alurestream.o:(main)

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 openal-soft or in lld).

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

View File

@ -1,4 +1,4 @@
# Created by: nemysis <nemysis@gmx.ch>
# Created by: nemysis <nemysis@gmx.ch2
# $FreeBSD$
PORTNAME= alure
@ -14,6 +14,7 @@ LICENSE= MIT
USES= cmake openal:soft pkgconfig
USE_LDCONFIG= yes
LLD_UNSAFE= yes # lld disallows preemption of protected visibility syms
CMAKE_ARGS= -DBUILD_STATIC:BOOL=FALSE
PORTDOCS= *