Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 646856 | Differences between
and this patch

Collapse All | Expand All

(-)a/eclass/flag-o-matic.eclass (-2 / +4 lines)
Lines 295-302 replace-cpu-flags() { Link Here
295
}
295
}
296
296
297
_is_flagq() {
297
_is_flagq() {
298
	local x var="$1[*]"
298
	local x
299
	for x in ${!var} ; do
299
	local -a flags
300
	read -ra flags <<<"${!1}"
301
	for x in "${flags[@]}"; do
300
		[[ ${x} == $2 ]] && return 0
302
		[[ ${x} == $2 ]] && return 0
301
	done
303
	done
302
	return 1
304
	return 1

Return to bug 646856