build-package.sh: export CC_FOR_BUILD for on-device builds
Required by some packages.
This commit is contained in:
parent
2e2f125476
commit
48d257989a
@ -23,6 +23,7 @@ termux_step_setup_toolchain() {
|
|||||||
CCTERMUX_HOST_PLATFORM=armv7a-linux-androideabi$TERMUX_PKG_API_LEVEL
|
CCTERMUX_HOST_PLATFORM=armv7a-linux-androideabi$TERMUX_PKG_API_LEVEL
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
export CC_FOR_BUILD=$CC
|
||||||
# Some build scripts use environment variable 'PKG_CONFIG', so
|
# Some build scripts use environment variable 'PKG_CONFIG', so
|
||||||
# using this for on-device builds too.
|
# using this for on-device builds too.
|
||||||
export PKG_CONFIG=pkg-config
|
export PKG_CONFIG=pkg-config
|
||||||
|
Loading…
Reference in New Issue
Block a user