1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

devel/love08: fix build when lld is the system linker

Ports that use openal (such as this one) fail to link with lld as the
system linker due to disagreement in the handling of preemption of
protected visibility symbols in shared objects.

In the case of devel/love08 detected at configure time as:
configure: error: Can't LÖVE without OpenAL

PR:		226980
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2018-04-05 14:04:54 +00:00
parent a8e2115b02
commit 19a964f914
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466560

View File

@ -30,6 +30,7 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 \
-I${LUA_INCDIR} `${SDL_CONFIG} --cflags`
LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR}
LLD_UNSAFE= yes
CONFIGURE_ARGS= --bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \
--program-suffix=08
WRKSRC= ${WRKDIR}/love-${PORTVERSION}