net-wireless/rfkill: Do not set toolchain variables in global scope; closes bug #593408 by Michał Górny.

Package-Manager: portage-2.3.1
This commit is contained in:
Tony Vroon
2016-09-27 14:13:19 +01:00
parent b82f278dab
commit 68aa66b89f

View File

@@ -1,8 +1,8 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
inherit toolchain-funcs
@@ -18,11 +18,8 @@ IUSE=""
RDEPEND=""
DEPEND=""
CC=$(tc-getCC)
LD=$(tc-getLD)
src_compile() {
emake V=1 || die "Failed to compile"
emake CC=$(tc-getCC) LD=$(tc-getLD) V=1 || die "Failed to compile"
}
src_install() {