Bug 193793 - net-analyzer/netselect uses generic gcc command to compile
Bug#: 193793 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: netmon@gentoo.org Reported By: cslycord@gmail.com
Component: Applications
URL: 
Summary: net-analyzer/netselect uses generic gcc command to compile
Keywords:  
Status Whiteboard: 
Opened: 2007-09-25 20:51 0000
Description:   Opened: 2007-09-25 20:51 0000
+++ This bug was initially created as a clone of Bug #193245 +++

During the compile phase for net-analyzer/netselect (version 0.3-r1), 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 net-analyzer/netselect
2. Look at output during compile phase
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-25 20:52:11 0000 -------
Created an attachment (id=131895) [details]
diff netselect-0.3-r1.ebuild netselect-0.3-r1.ebuild.orig

This fixes it on my computer.

------- Comment #2 From Peter Volkov 2007-09-29 06:51:37 0000 -------
Thank you for report. Fixed in netselect-0.3-r2.