mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue