mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user