Remove 'eselect compiler' references
authorMarius Mauch <genone@gentoo.org>
Tue, 13 May 2008 22:44:17 +0000 (22:44 -0000)
committerMarius Mauch <genone@gentoo.org>
Tue, 13 May 2008 22:44:17 +0000 (22:44 -0000)
svn path=/main/trunk/; revision=10328

pym/_emerge/__init__.py

index 42c7decbc0fb833eabd3881cac5f2b7608d5a440..f911d952c8dfbd29cabf0411de7b9f40c97ec05d 100644 (file)
@@ -303,12 +303,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)