Use simpler sed invocation.

X-MFC-With:	r334791
MFC after:	1 week
Submitted by:	danfe
This commit is contained in:
bdrewery 2018-06-07 19:39:11 +00:00
parent 6dafa53868
commit fbe5d5cbf1

View File

@ -49,7 +49,7 @@ ${var}= ${${var}.${${X_}_ld_hash}}
.if ${ld} == "LD" || (${ld} == "XLD" && ${XLD} != ${LD})
.if !defined(${X_}LINKER_TYPE) || !defined(${X_}LINKER_VERSION)
_ld_version!= (${${ld}} --version || echo none) | sed -n '1,1p'
_ld_version!= (${${ld}} --version || echo none) | sed -n 1p
.if ${_ld_version} == "none"
.warning Unable to determine linker type from ${ld}=${${ld}}
.endif