svn commit: r568065 - head/games/re3
Tobias Kortkamp
tobik at freebsd.org
Sat Mar 13 23:22:05 UTC 2021
On Thu, Mar 11, 2021 at 02:54:17AM +0000, Piotr Kubaj wrote:
> Author: pkubaj
> Date: Thu Mar 11 02:54:17 2021
> New Revision: 568065
> URL: https://svnweb.freebsd.org/changeset/ports/568065
>
> Log:
> games/re3: fix build on i386
>
> lld can't link this port.
Yes, it can. I looked up the build error (btw, having the error in the
commit message would have been much easier) and it was just the old
ld: error: cannot preempt symbol: alcIsExtensionPresent
>>> defined in /usr/local/lib/libopenal.so
>>> referenced by aldlist.cpp:49 (../src/audio/oal/aldlist.cpp:49)
>>> obj/bsd-x86-librw_gl3_glfw-oal/Release/re3/aldlist.o:(ALDeviceList::ALDeviceList())
which you can workaround by adding
LDFLAGS_i386= -Wl,-znotext
No need for LLD_UNSAFE.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20210314/e9e9b542/attachment.sig>
More information about the svn-ports-all
mailing list