Skip to content

Commit 055ae96

Browse files
committed
unix: fix ncurses on i686-unknown-linux-gnu cross build
This regressed when we unset CC in a recent commit.
1 parent 25a07d3 commit 055ae96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpython-unix/build-ncurses.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ if [[ "${BUILD_TRIPLE}" != "${TARGET_TRIPLE}" && "${PYBUILD_PLATFORM}" != "macos
2222
OLD_CC=${CC}
2323
unset CC
2424

25+
if [ -e "${TOOLS_PATH}/${TOOLCHAIN}/bin/clang" ]; then
26+
export CC="${TOOLS_PATH}/${TOOLCHAIN}/bin/clang"
27+
fi
28+
2529
pushd ncurses-${NCURSES_VERSION}
2630
./configure --prefix=${TOOLS_PATH}/host --without-cxx --without-tests --without-manpages --enable-widec
2731
make -j ${NUM_CPUS}

0 commit comments

Comments
 (0)