From 186c9c75fd38bab5be9510fa0eb56013b31e95fa Mon Sep 17 00:00:00 2001 From: emaste Date: Wed, 30 Aug 2017 19:40:14 +0000 Subject: audio/openal-soft: 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: alIsExtensionPresent >>> defined in libopenal.so.1.18.0 >>> referenced by examples/altonegen.c >>> CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main) /usr/bin/ld: error: cannot preempt symbol: alcGetCurrentContext >>> defined in libopenal.so.1.18.0 >>> referenced by examples/altonegen.c >>> CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main) /usr/bin/ld: error: cannot preempt symbol: alcGetContextsDevice >>> defined in libopenal.so.1.18.0 >>> referenced by examples/altonegen.c >>> CMakeFiles/altonegen.dir/examples/altonegen.c.o:(main) ... (Ports that depend on audio/openal-soft may also need to be tagged with LLD_UNSAFE.) PR: 219089 Approved by: kwm Sponsored by: The FreeBSD Foundation --- audio/openal-soft/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'audio') diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile index 5c175b5e7ffe..997488400341 100644 --- a/audio/openal-soft/Makefile +++ b/audio/openal-soft/Makefile @@ -16,6 +16,7 @@ CONFLICTS= openal-200[0-9]* USES= tar:bzip2 cmake compiler:c11 USE_LDCONFIG= yes +LLD_UNSAFE= yes CMAKE_ARGS= -DSHARE_INSTALL_DIR:STRING=${ETCDIR} \ -DALSOFT_REQUIRE_OSS:BOOL=OFF \ -DALSOFT_REQUIRE_JACK:BOOL=OFF \ -- cgit