Use simpler sed invocation.
X-MFC-With: r334791 MFC after: 1 week Submitted by: danfe
This commit is contained in:
parent
6dafa53868
commit
fbe5d5cbf1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user