commit: 2c249039f39ca5cc1b93b09e302a1affe700cf3a
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 7 20:21:39 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Nov 7 20:22:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c249039
sys-devel/gdb: set CC_FOR_BUILD to workaround cross-build failure
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
sys-devel/gdb/gdb-10.1.ebuild | 1 +
sys-devel/gdb/gdb-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/sys-devel/gdb/gdb-10.1.ebuild b/sys-devel/gdb/gdb-10.1.ebuild
index 2435f560440..4805e0131ff 100644
--- a/sys-devel/gdb/gdb-10.1.ebuild
+++ b/sys-devel/gdb/gdb-10.1.ebuild
@@ -100,6 +100,7 @@ src_prepare() {
default
strip-linguas -u bfd/po opcodes/po
+ export CC_FOR_BUILD=$(tc-getBUILD_CC)
}
gdb_branding() {
diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild
index 2435f560440..4805e0131ff 100644
--- a/sys-devel/gdb/gdb-9999.ebuild
+++ b/sys-devel/gdb/gdb-9999.ebuild
@@ -100,6 +100,7 @@ src_prepare() {
default
strip-linguas -u bfd/po opcodes/po
+ export CC_FOR_BUILD=$(tc-getBUILD_CC)
}
gdb_branding() {