Bug 36988 - emerge gradm fails if CC is not defined
Bug#: 36988 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: hardened@gentoo.org Reported By: in-gentoo@baka.org
Component: Ebuilds
URL: 
Summary: emerge gradm fails if CC is not defined
Keywords:  
Status Whiteboard: 
Opened: 2004-01-01 19:50 0000
Description:   Opened: 2004-01-01 19:50 0000
You cannot emerge gradm if CC is not in your environment

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


Actual Results:  
Fail

Expected Results:  
emerge

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

------- Comment #2 From solar 2004-01-02 12:27:51 0000 -------
updated in portage tree. Please rsync and re emerge then report results here so
I can add the same logic for gradm2 and other ebuilds if needed.

I've also added a check for gcc revisions and ssp as ssp is known 
to break when used with static linking in gcc-3.3.{1,2}-r[1-5]

SpanKY,
Please review changes and make further suggestions if needed.

------- Comment #3 From SpanKY 2004-01-02 20:31:55 0000 -------
the only thing hotter than your fix is you Nedd, thanks

------- Comment #4 From solar 2004-01-27 17:36:58 0000 -------
no new reports so I'm changing resolution to FIXED