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

(-)file_not_specified_in_diff (-3 / +8 lines)
Line  Link Here
0
-- a/mail-client/thunderbird/thunderbird-102.12.0.ebuild
0
++ b/mail-client/thunderbird/thunderbird-102.12.0.ebuild
Lines 575-586 src_configure() { Link Here
575
	if use clang; then
575
	if use clang; then
576
		# Force clang
576
		# Force clang
577
		einfo "Enforcing the use of clang due to USE=clang ..."
577
		einfo "Enforcing the use of clang due to USE=clang ..."
578
579
		local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
580
		[[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
581
		[[ -z ${version_clang} ]] && die "Failed to read clang version!"
582
578
		if tc-is-gcc; then
583
		if tc-is-gcc; then
579
			have_switched_compiler=yes
584
			have_switched_compiler=yes
580
		fi
585
		fi
581
		AR=llvm-ar
586
		AR=llvm-ar
582
		CC=${CHOST}-clang
587
		CC=${CHOST}-clang-${version_clang}
583
		CXX=${CHOST}-clang++
588
		CXX=${CHOST}-clang++-${version_clang}
584
		NM=llvm-nm
589
		NM=llvm-nm
585
		RANLIB=llvm-ranlib
590
		RANLIB=llvm-ranlib
586
	elif ! use clang && ! tc-is-gcc ; then
591
	elif ! use clang && ! tc-is-gcc ; then

Return to bug 908993