summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-11-07 20:21:39 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-11-07 20:22:10 +0000
commit2c249039f39ca5cc1b93b09e302a1affe700cf3a (patch)
tree3b3d4a48b4bb4cfed9dfcb820b13578ef5e7e5bd /sys-devel/gdb
parentnet-wireless/iwd: stable 1.9-r1 for ppc (diff)
downloadgentoo-2c249039f39ca5cc1b93b09e302a1affe700cf3a.tar.gz
gentoo-2c249039f39ca5cc1b93b09e302a1affe700cf3a.tar.bz2
gentoo-2c249039f39ca5cc1b93b09e302a1affe700cf3a.zip
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@gentoo.org>
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r--sys-devel/gdb/gdb-10.1.ebuild1
-rw-r--r--sys-devel/gdb/gdb-9999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys-devel/gdb/gdb-10.1.ebuild b/sys-devel/gdb/gdb-10.1.ebuild
index 2435f5604400..4805e0131ff3 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 2435f5604400..4805e0131ff3 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() {