sys-libs/libcap: declare BUILD_CC as local
authorMike Gilbert <floppym@gentoo.org>
Tue, 2 Jan 2018 02:04:06 +0000 (21:04 -0500)
committerMike Gilbert <floppym@gentoo.org>
Tue, 2 Jan 2018 02:04:20 +0000 (21:04 -0500)
This prevents multilib CFLAGS from spilling over. This should probably
be fixed in multilib.eclass eventually.

Package-Manager: Portage-2.3.19_p3, Repoman-2.3.6_p37

sys-libs/libcap/libcap-2.24-r2.ebuild
sys-libs/libcap/libcap-2.25.ebuild

index 5575faa355ce0fd9e4b7727e1fbafa08f615c7db..56d79e96f0e5f510efc29ca2409686e01c12e25e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="4"
@@ -47,8 +47,9 @@ multilib_src_configure() {
 }
 
 multilib_src_compile() {
-       tc-export_build_env BUILD_CC
        tc-export AR CC RANLIB
+       local BUILD_CC
+       tc-export_build_env BUILD_CC
 
        default
 }
index feb60b9a4b62a3d1b27038deeacb5f878856efe1..81fb56032a2efd05b1176ebbb70708079cb7bddb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -52,8 +52,9 @@ multilib_src_configure() {
 }
 
 multilib_src_compile() {
-       tc-export_build_env BUILD_CC
        tc-export AR CC RANLIB
+       local BUILD_CC
+       tc-export_build_env BUILD_CC
 
        default
 }