diff options
author | emaste <emaste@FreeBSD.org> | 2018-03-30 00:10:39 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2018-03-30 00:10:39 +0000 |
commit | fd638422ccfbbe7a11e751ed5a7a237f2dc8d004 (patch) | |
tree | eec38f663c01bae95581f9824ba3ef4ab5b86a39 /share | |
parent | bb1ff01c45c009f573ceab5cdfedcd3b8bc8d8b2 (diff) | |
download | FreeBSD-src-fd638422ccfbbe7a11e751ed5a7a237f2dc8d004.zip FreeBSD-src-fd638422ccfbbe7a11e751ed5a7a237f2dc8d004.tar.gz |
MFC r321417: enable filter lib linker feature flag for lld 5.0+
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.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.linker.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.linker.mk b/share/mk/bsd.linker.mk index 791ee16..2110423 100644 --- a/share/mk/bsd.linker.mk +++ b/share/mk/bsd.linker.mk @@ -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 |