Bug 194233 - sys-libs/slang uses generic gcc command to compile
Bug#: 194233 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cjk@gentoo.org Reported By: cslycord@gmail.com
Component: Applications
URL: 
Summary: sys-libs/slang uses generic gcc command to compile
Keywords:  
Status Whiteboard: 
Opened: 2007-09-29 23:52 0000
Description:   Opened: 2007-09-29 23:52 0000
+++ This bug was initially created as a clone of Bug #193793 +++

During the compile phase for sys-libs/slang (version 1.4.9-r2), gcc is invoked
instead of a CHOST-specific command (like i686-pc-linux-gnu-gcc). This could
cause troubles if trying to do, say, a cross-compile and the system gcc gets
called (since normally it would use the CHOST for the cross compiler).

Reproducible: Always

Steps to Reproduce:
1. Install sys-libs/slang
2. Look at output during either the configure or compile phases
3.

Actual Results:  
gcc is invoked

Expected Results:  
A CHOST-specific compiler name to be invoked

NOTE: A simple ebuild fix to follow

------- Comment #1 From Chris Slycord 2007-09-29 23:54:13 0000 -------
Created an attachment (id=132202) [details]
diff slang-1.4.9-r1.ebuild slang-1.4.9-r1.ebuild.orig

Fixes it on my computer

------- Comment #2 From Chris Slycord 2007-09-29 23:57:38 0000 -------
Created an attachment (id=132204) [details]
Excerpt of original output

------- Comment #3 From Chris Slycord 2007-09-29 23:58:08 0000 -------
Created an attachment (id=132205) [details]
Excerpt of fixed output

------- Comment #4 From Chris Slycord 2007-09-30 07:17:03 0000 -------
Created an attachment (id=132214) [details]
Unified diff; this time in the right order

------- Comment #5 From MATSUU Takuto 2007-10-14 07:05:16 0000 -------
fixed in cvs.