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

Collapse All | Expand All

(-)emerge.bak (-4 / +4 lines)
Lines 535-545 def getgccversion(): Link Here
535
	"!!! other terminals also.\n"
535
	"!!! other terminals also.\n"
536
	)
536
	)
537
537
538
	mystatus, myoutput = commands.getstatusoutput("gcc-config -c")
539
	if mystatus == os.EX_OK and len(myoutput.split("-")) > 0:
540
		return gcc_ver_prefix + myoutput.split("-")[-1]
541
542
	mystatus, myoutput = commands.getstatusoutput("eselect compiler show")
538
	mystatus, myoutput = commands.getstatusoutput("eselect compiler show")
539
	if mystatus == os.EX_OK and len(myoutput.split("/")) > 0:
540
		return gcc_ver_prefix + myoutput.split("/")[0].split("-")[-1] + "/" +  myoutput.split("/")[-1]
541
542
	mystatus, myoutput = commands.getstatusoutput("gcc-config -c")
543
	if mystatus == os.EX_OK and len(myoutput.split("-")) > 0:
543
	if mystatus == os.EX_OK and len(myoutput.split("-")) > 0:
544
		return gcc_ver_prefix + myoutput.split("-")[-1]
544
		return gcc_ver_prefix + myoutput.split("-")[-1]
545
545

Return to bug 108393