commit: cf0d5030678f66888119fd14adba0aaed24fdb0f
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 2 02:04:06 2018 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Jan 2 02:04:20 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0d5030
sys-libs/libcap: declare BUILD_CC as local
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 | 5 +++--
sys-libs/libcap/libcap-2.25.ebuild | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/sys-libs/libcap/libcap-2.24-r2.ebuild
b/sys-libs/libcap/libcap-2.24-r2.ebuild
index 5575faa355c..56d79e96f0e 100644
--- a/sys-libs/libcap/libcap-2.24-r2.ebuild
+++ b/sys-libs/libcap/libcap-2.24-r2.ebuild
@@ -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
}
diff --git a/sys-libs/libcap/libcap-2.25.ebuild
b/sys-libs/libcap/libcap-2.25.ebuild
index feb60b9a4b6..81fb56032a2 100644
--- a/sys-libs/libcap/libcap-2.25.ebuild
+++ b/sys-libs/libcap/libcap-2.25.ebuild
@@ -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
}