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
This commit is contained in:
parent
12f015586d
commit
8202ac4910
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518709
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user