Browse Source
build-package.sh: export CC_FOR_BUILD for on-device builds
Required by some packages.
emacs-27
Leonid Plyushch
6 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with
1 additions and
0 deletions
-
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 |
|
|
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 |
|
|