change GNU ld LINKER_TYPE from binutils to bfd
GNU binutils includes two linkers: ld.bfd and ld.gold. For clarity use LINKER_TYPE=bfd to refer to ld.bfd, the original binutils linker that identifies itself as "GNU ld". Discussed with: bdrewery
This commit is contained in:
parent
43988e3f50
commit
83cff1f8e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320258
@ -47,7 +47,7 @@ _ld_version!= ${${ld}} --version 2>/dev/null | head -n 1 || echo none
|
||||
.error Unable to determine linker type from ${ld}=${${ld}}
|
||||
.endif
|
||||
.if ${_ld_version:[1..2]} == "GNU ld"
|
||||
${X_}LINKER_TYPE= binutils
|
||||
${X_}LINKER_TYPE= bfd
|
||||
_v= ${_ld_version:M[1-9].[0-9]*:[1]}
|
||||
.elif ${_ld_version:[1]} == "LLD"
|
||||
${X_}LINKER_TYPE= lld
|
||||
|
Loading…
Reference in New Issue
Block a user