| 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
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
Created an attachment (id=132204) [details]
Excerpt of original output
Created an attachment (id=132205) [details]
Excerpt of fixed output
Created an attachment (id=132214) [details]
Unified diff; this time in the right order