Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 108407
Collapse All | Expand All

(-)toolchain-funcs.eclass (+11 lines)
Lines 221-223 Link Here
221
	return $([[ ${directive/\{!fno-stack-protector-all:} != ${directive} ]])
221
	return $([[ ${directive/\{!fno-stack-protector-all:} != ${directive} ]])
222
}
222
}
223
223
224
# Returns ture if the linker is GNU ld
225
ld-is-gnu() {
226
	case $($(tc-getLD) -v 2>&1 </dev/null) in
227
	*GNU* | *'with BFD'*)
228
		return 0
229
		;;
230
	*)
231
		return 1
232
		;;
233
	esac
234
}

Return to bug 108407