termux_step_massage: Avoid using `CC`

which may be unset.
This commit is contained in:
Tee KOBAYASHI 2022-04-06 13:25:05 +09:00 committed by Henrik Grimler
parent 497ff55e26
commit ae7f540379
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ termux_step_massage() {
fi
# Check so that package is not affected by https://github.com/android/ndk/issues/1614
SYMBOLS="$(readelf -s $($CC -print-libgcc-file-name) | grep "FUNC GLOBAL HIDDEN" | awk '{print $8}')"
SYMBOLS="$(readelf -s $($TERMUX_HOST_PLATFORM-clang -print-libgcc-file-name) | grep "FUNC GLOBAL HIDDEN" | awk '{print $8}')"
LIBRARIES=""
if [ -d "lib" ]; then
LIBRARIES="$(find lib -name "*.so")"