Bug 213019 - app-editors/elvis-2.2.0-r3 should not use gcc directly
Bug#: 213019 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: vim@gentoo.org Reported By: corsair@gentoo.org
Component: Ebuilds
URL: 
Summary: app-editors/elvis-2.2.0-r3 should not use gcc directly
Keywords:  
Status Whiteboard: 
Opened: 2008-03-11 08:57 0000
Description:   Opened: 2008-03-11 08:57 0000
as said by Tiago Cunha in bug #205722 comment #6 evlis' Makefile calls gcc
directly. The following patch would be appreciated:

-       sed -i -e "s:gcc -O2:gcc ${CFLAGS}:" Makefile || die "sed 1 failed"
+       sed -i -e "s:gcc -O2:$(tc-getCC) ${CFLAGS}:" Makefile || die "sed 1
failed"

------- Comment #1 From Krzysiek Pawlik 2008-03-11 11:26:05 0000 -------
Fixed:

+  11 Mar 2008; Krzysiek Pawlik <nelchael@gentoo.org> -elvis-2.2.0-r1.ebuild,
+  -elvis-2.2.0-r2.ebuild, elvis-2.2.0-r3.ebuild:
+  Remove old versions, use tc-getCC instead of gcc (see bug #213019).
+