Bug 36987 - bzip2-1.0.2-r3.ebuild fails to compile if environment variable CC is not defined
Bug#: 36987 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: in-gentoo@baka.org
Component: Ebuilds
URL: 
Summary: bzip2-1.0.2-r3.ebuild fails to compile if environment variable CC is not defined
Keywords:  
Status Whiteboard: 
Opened: 2004-01-01 19:48 0000
Description:   Opened: 2004-01-01 19:48 0000
With my default environment (everyone's default?) I cannot emerge bzip2

Reproducible: Always
Steps to Reproduce:
1.unset CC
2.emerge gzip2


Actual Results:  
Compiler error

Expected Results:  
installed

Either defined CC, modify ebuild to not include CC="$(CC)" on command line, etc.
Ideally probe to see if CC is defined.  There is a bug 8201 or something like
that which complains that CC definition is ignored.

------- Comment #1 From SpanKY 2004-01-01 19:56:24 0000 -------
i believe the correct way of doing it is:
inherit gcc
$(gcc-getCC)

------- Comment #2 From SpanKY 2004-01-02 20:48:11 0000 -------
fixed in cvsz0r