diff options
author | Vaibhav Rustagi <vaibhavrustagi@google.com> | 2021-08-13 16:38:48 -0700 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-18 19:20:34 +0100 |
commit | 75038b624bc5ad2037a29ad00c2b8947c80286a7 (patch) | |
tree | dec7f99119a7cc79a7c822b2db5e860c08b29350 /sys-libs | |
parent | dev-python/sabyenc: fix segfault, enable py3.10 (diff) | |
download | gentoo-75038b624bc5ad2037a29ad00c2b8947c80286a7.tar.gz gentoo-75038b624bc5ad2037a29ad00c2b8947c80286a7.tar.bz2 gentoo-75038b624bc5ad2037a29ad00c2b8947c80286a7.zip |
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@google.com>
Closes: https://github.com/gentoo/gentoo/pull/21984
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/ncurses/ncurses-6.2_p20210619.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
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} \ |