Nuke eselect compiler usage, since eselect compiler has been nuked from the tree...
authorFabian Groffen <grobian@gentoo.org>
Tue, 25 Mar 2008 20:55:55 +0000 (20:55 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 25 Mar 2008 20:55:55 +0000 (20:55 -0000)
svn path=/main/branches/prefix/; revision=9509

pym/_emerge/__init__.py

index 8e163233a0a7b8523bd663b8346f243477004995..0602c9cfbb7acb3788f90b1f84be6b700a6be40b 100644 (file)
@@ -318,12 +318,6 @@ def getgccversion(chost):
        "!!! other terminals also.\n"
        )
 
-       mystatus, myoutput = commands.getstatusoutput("eselect compiler show")
-       if mystatus == os.EX_OK and len(myoutput.split("/")) == 2:
-               part1, part2 = myoutput.split("/")
-               if part1.startswith(chost + "-"):
-                       return myoutput.replace(chost + "-", gcc_ver_prefix, 1)
-
        mystatus, myoutput = commands.getstatusoutput("gcc-config -c")
        if mystatus == os.EX_OK and myoutput.startswith(chost + "-"):
                return myoutput.replace(chost + "-", gcc_ver_prefix, 1)