From 75038b624bc5ad2037a29ad00c2b8947c80286a7 Mon Sep 17 00:00:00 2001 From: Vaibhav Rustagi Date: Fri, 13 Aug 2021 16:38:48 -0700 Subject: 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 Closes: https://github.com/gentoo/gentoo/pull/21984 Signed-off-by: Sam James --- sys-libs/ncurses/ncurses-6.2_p20210619.ebuild | 1 + 1 file changed, 1 insertion(+) (limited to 'sys-libs') diff --git a/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild b/sys-libs/ncurses/ncurses-6.2_p20210619.ebuild index d49df4d8ee35..2b2a6df484d7 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} \ -- cgit v1.2.3-65-gdbad