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

(-)a/eclass/flag-o-matic.eclass (-2 / +5 lines)
Lines 435-442 test-flag-PROG() { Link Here
435
435
436
	[[ -z ${comp} || -z $1 ]] && return 1
436
	[[ -z ${comp} || -z $1 ]] && return 1
437
437
438
	# verify selected compiler exists before using it
439
	comp=$(tc-get${comp})
440
	type -p ${comp} >/dev/null || return 1
441
438
	local cmdline=(
442
	local cmdline=(
439
		$(tc-get${comp})
443
		${comp}
440
		# Clang will warn about unknown gcc flags but exit 0.
444
		# Clang will warn about unknown gcc flags but exit 0.
441
		# Need -Werror to force it to exit non-zero.
445
		# Need -Werror to force it to exit non-zero.
442
		-Werror
446
		-Werror
443
- 

Return to bug 695706