svn commit: r518709 - head/audio/openal-soft
Tobias Kortkamp
tobik at FreeBSD.org
Sat Nov 30 08:00:49 UTC 2019
Author: tobik
Date: Sat Nov 30 08:00:48 2019
New Revision: 518709
URL: https://svnweb.freebsd.org/changeset/ports/518709
Log:
audio/openal-soft: Limit LLD_UNSAFE to FreeBSD 12.0 again
We can unbreak the build with lld on i386 on FreeBSD > 12.0 by
passing -Wl,-z,notext to the linker. It should not make any
difference on older releases.
PR: 242307
Tested by: jbeich
Modified:
head/audio/openal-soft/Makefile
Modified: head/audio/openal-soft/Makefile
==============================================================================
--- head/audio/openal-soft/Makefile Sat Nov 30 07:31:53 2019 (r518708)
+++ head/audio/openal-soft/Makefile Sat Nov 30 08:00:48 2019 (r518709)
@@ -23,7 +23,11 @@ CMAKE_ON= ALSOFT_BACKEND_WAVE ALSOFT_UTILS
# do not link with librt and libdl.
LDFLAGS+= -Wl,--as-needed
+LDFLAGS_i386= -Wl,-z,notext
+# XXX Drop after FreeBSD 12.0 EOL
+.if exists(/usr/lib/clang/6.0.1)
LLD_UNSAFE= yes
+.endif
PLIST_SUB= SOVERSION=${PORTVERSION}
More information about the svn-ports-all
mailing list