--- /usr/portage/app-crypt/cfs/cfs-1.4.1.17.ebuild 2009-04-05 04:08:24.000000000 -0400 +++ cfs-1.4.1.17-r1.ebuild 2010-08-09 19:12:51.000000000 -0400 @@ -1,4 +1,4 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-crypt/cfs/cfs-1.4.1.17.ebuild,v 1.5 2008/12/17 00:15:51 halcy0n Exp $ @@ -50,10 +50,12 @@ src_unpack() { unpack ${A} epatch cfs_${MY_PV}-${DEB_PV}.diff + cd "${S}" + sed -i 's/$(CC)/$(CC) $(LDFLAGS)/g' Makefile || die "sed failed" } src_compile() { - make cfs COPT="${CFLAGS} -DPROTOTYPES -g" || die "make failed!" + make cfs CC=$(tc-getCC) COPT="${CFLAGS} -DPROTOTYPES -g" || die "make failed!" } src_install() {