Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ncurses/
Date: Sat, 18 Sep 2021 18:26:59
Message-Id: 1631989234.75038b624bc5ad2037a29ad00c2b8947c80286a7.sam@gentoo
1 commit: 75038b624bc5ad2037a29ad00c2b8947c80286a7
2 Author: Vaibhav Rustagi <vaibhavrustagi <AT> google <DOT> com>
3 AuthorDate: Fri Aug 13 23:38:48 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 18 18:20:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75038b62
7
8 sys-libs/ncurses: Use `BUILD_CC` as `CC` when compiling tic.
9
10 Not having `CC` explictly set creates a problem in case of
11 cross-compilation as it can use host `CC` for tic.
12
13 Signed-off-by: Vaibhav Rustagi <vaibhavrustagi <AT> google.com>
14 Closes: https://github.com/gentoo/gentoo/pull/21984
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 sys-libs/ncurses/ncurses-6.2_p20210619.ebuild | 1 +
18 1 file changed, 1 insertion(+)
19
20 diff --git a/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild b/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild
21 index d49df4d8ee3..2b2a6df484d 100644
22 --- a/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild
23 +++ b/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild
24 @@ -87,6 +87,7 @@ src_configure() {
25
26 # We can't re-use the multilib BUILD_DIR because we run outside of it.
27 BUILD_DIR="${WORKDIR}" \
28 + CC=${BUILD_CC} \
29 CHOST=${CBUILD} \
30 CFLAGS=${BUILD_CFLAGS} \
31 CXXFLAGS=${BUILD_CXXFLAGS} \