diff --git a/scripts/build/termux_step_setup_toolchain.sh b/scripts/build/termux_step_setup_toolchain.sh index 7647987f0..dd6b1ea3b 100644 --- a/scripts/build/termux_step_setup_toolchain.sh +++ b/scripts/build/termux_step_setup_toolchain.sh @@ -23,6 +23,7 @@ termux_step_setup_toolchain() { CCTERMUX_HOST_PLATFORM=armv7a-linux-androideabi$TERMUX_PKG_API_LEVEL fi else + export CC_FOR_BUILD=$CC # Some build scripts use environment variable 'PKG_CONFIG', so # using this for on-device builds too. export PKG_CONFIG=pkg-config