commit:     75038b624bc5ad2037a29ad00c2b8947c80286a7
Author:     Vaibhav Rustagi <vaibhavrustagi <AT> google <DOT> com>
AuthorDate: Fri Aug 13 23:38:48 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 18 18:20:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75038b62

sys-libs/ncurses: Use `BUILD_CC` as `CC` when compiling tic.

Not having `CC` explictly set creates a problem in case of
cross-compilation as it can use host `CC` for tic.

Signed-off-by: Vaibhav Rustagi <vaibhavrustagi <AT> google.com>
Closes: https://github.com/gentoo/gentoo/pull/21984
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/ncurses/ncurses-6.2_p20210619.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild 
b/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild
index d49df4d8ee3..2b2a6df484d 100644
--- a/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild
+++ b/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild
@@ -87,6 +87,7 @@ src_configure() {
 
                # We can't re-use the multilib BUILD_DIR because we run outside 
of it.
                BUILD_DIR="${WORKDIR}" \
+               CC=${BUILD_CC} \
                CHOST=${CBUILD} \
                CFLAGS=${BUILD_CFLAGS} \
                CXXFLAGS=${BUILD_CXXFLAGS} \

Reply via email to