Bug 197226 - app-misc/fdupes uses generic gcc command to compile
Bug#: 197226 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: shell-tools@gentoo.org Reported By: cslycord@gmail.com
Component: Applications
URL: 
Summary: app-misc/fdupes uses generic gcc command to compile
Keywords:  
Status Whiteboard: 
Opened: 2007-10-27 17:46 0000
Description:   Opened: 2007-10-27 17:46 0000
+++ This bug was initially created as a clone of Bug #186718 +++

During the compile phase for fdupes (version 1.4.0), 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 cc gets called
(since normally it would use the CHOST for the cross compiler).

Reproducible: Always

Steps to Reproduce:
1. Install fdupes
2. Look at output during compile phase
3.

Actual Results:  
gcc is invoked

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

Note: I sent an email upstream to request the hardcoded gcc in the Makefile be
changed to ${CC}.

------- Comment #1 From Chris Slycord 2007-10-27 17:47:06 0000 -------
Created an attachment (id=134500) [details]
diff between the fixed ebuild and 1.4.0 version in portage

------- Comment #2 From Peter Volkov 2008-05-12 21:40:17 0000 -------
Thank you for report, Chris. Fixed in fdupes-1.40-r1.