diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-06-22 21:22:12 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-06-22 21:22:12 +0000 |
commit | 89bf31fd6374f562e68a85925c5c7709e10add4f (patch) | |
tree | 6e997ee3d6db81b4062ea1656891fbd8268e2845 | |
parent | 81b4423f052360d2824cbdaab0f82c88b5f5a85e (diff) | |
download | src-test2-89bf31fd6374f562e68a85925c5c7709e10add4f.tar.gz src-test2-89bf31fd6374f562e68a85925c5c7709e10add4f.zip |
Notes
-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 7a6502012689..226c7f3b335e 100644 --- a/share/mk/bsd.linker.mk +++ b/share/mk/bsd.linker.mk @@ -48,7 +48,7 @@ _ld_version!= ${${ld}} --version 2>/dev/null | head -n 1 || echo none .endif .if ${_ld_version:[1..2]} == "GNU ld" ${X_}LINKER_TYPE= binutils -_v= ${_ld_version:[3]} +_v= ${_ld_version:M[1-9].[0-9]*:[1]} .elif ${_ld_version:[1]} == "LLD" ${X_}LINKER_TYPE= lld _v= ${_ld_version:[2]} |