lld 5.0 supports filter libraries, so enable linker feature flag
Also switch the logic to enable this for any non-lld linker, since filter library support is fairly simple and is very likely supported by any other linker capable of linking the FreeBSD base system. MFC after: 2 months MFC with: r321369 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
c7019bf79d
commit
0a80853736
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321417
@ -70,7 +70,7 @@ ${X_}LINKER_FEATURES=
|
||||
.if ${${X_}LINKER_TYPE} != "bfd" || ${${X_}LINKER_VERSION} > 21750
|
||||
${X_}LINKER_FEATURES+= build-id
|
||||
.endif
|
||||
.if ${${X_}LINKER_TYPE} == "bfd"
|
||||
.if ${${X_}LINKER_TYPE} != "lld" || ${${X_}LINKER_VERSION} >= 50000
|
||||
${X_}LINKER_FEATURES+= filter
|
||||
.endif
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user