diff options
author | emaste <emaste@FreeBSD.org> | 2017-08-31 03:40:14 +0800 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2017-08-31 03:40:14 +0800 |
commit | 186c9c75fd38bab5be9510fa0eb56013b31e95fa (patch) | |
tree | e45e19b040dfa35cfbf8bcc3528a23e801c547ea /audio | |
parent | 70c31557335f9b1a247f34395bfc2320001a0064 (diff) | |
download | freebsd-ports-gnome-186c9c75fd38bab5be9510fa0eb56013b31e95fa.tar.gz freebsd-ports-gnome-186c9c75fd38bab5be9510fa0eb56013b31e95fa.tar.zst freebsd-ports-gnome-186c9c75fd38bab5be9510fa0eb56013b31e95fa.zip |
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
Diffstat (limited to 'audio')
-rw-r--r-- | audio/openal-soft/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |