summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny (tastytea) Gutbrod <gentoo@tastytea.de>2021-04-29 16:25:16 +0200
committerMatt Turner <mattst88@gentoo.org>2021-04-29 21:48:28 -0400
commit48fca8c4d33b4dcd742f2b5e4acbc8b8121c6353 (patch)
tree260be190f4b1a15e72958ffa77efa13149c574f3 /dev-libs/fribidi
parentmedia-sound/rhythmbox: Add Python 3.9 support (diff)
downloadgentoo-48fca8c4d33b4dcd742f2b5e4acbc8b8121c6353.tar.gz
gentoo-48fca8c4d33b4dcd742f2b5e4acbc8b8121c6353.tar.bz2
gentoo-48fca8c4d33b4dcd742f2b5e4acbc8b8121c6353.zip
dev-libs/fribidi: Set CC_FOR_BUILD.
configure can not find a compiler with sys-devel/gcc-config[-native-symlinks] otherwise. Closes: https://bugs.gentoo.org/726180 Closes: https://github.com/gentoo/gentoo/pull/20594 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/fribidi')
-rw-r--r--dev-libs/fribidi/fribidi-1.0.10.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-libs/fribidi/fribidi-1.0.10.ebuild b/dev-libs/fribidi/fribidi-1.0.10.ebuild
index 93619b5401dd..e0fa1b580528 100644
--- a/dev-libs/fribidi/fribidi-1.0.10.ebuild
+++ b/dev-libs/fribidi/fribidi-1.0.10.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit multilib-minimal
+inherit multilib-minimal toolchain-funcs
DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
HOMEPAGE="https://fribidi.org/"
@@ -21,6 +21,12 @@ BDEPEND="
DOCS=( AUTHORS NEWS ChangeLog THANKS ) # README points at README.md which wasn't disted with EAPI-7
+src_prepare() {
+ default
+
+ export CC_FOR_BUILD="$(tc-getBUILD_CC)"
+}
+
multilib_src_configure() {
local myeconfargs=(
--enable-shared