summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-24 22:51:51 +0000
committerSam James <sam@gentoo.org>2021-11-24 22:52:03 +0000
commit4978a4ec96cf4785251da724260069ad5316f0f3 (patch)
treed24d755e743a6f595cf3871e3553271031ce5958 /sys-devel
parentx11-misc/dunst: fix path for dbus (diff)
downloadgentoo-4978a4ec96cf4785251da724260069ad5316f0f3.tar.gz
gentoo-4978a4ec96cf4785251da724260069ad5316f0f3.tar.bz2
gentoo-4978a4ec96cf4785251da724260069ad5316f0f3.zip
sys-devel/gcc: fix cross compile patch application
Bug: https://bugs.gentoo.org/803371 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/gcc-11.2.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/gcc/gcc-11.2.0.ebuild b/sys-devel/gcc/gcc-11.2.0.ebuild
index 3e6511d8432d..74b45ed7d01b 100644
--- a/sys-devel/gcc/gcc-11.2.0.ebuild
+++ b/sys-devel/gcc/gcc-11.2.0.ebuild
@@ -16,7 +16,7 @@ BDEPEND="${CATEGORY}/binutils"
src_prepare() {
toolchain_src_prepare
- if is_crosscompile ; then
+ if tc-is-cross-compiler ; then
# bug #803371
eapply "${FILESDIR}"/gcc-11.2.0-cross-compile-include.patch
fi