From 8c4b2e8e3b6a8ec22065f70412c978c8483968ec Mon Sep 17 00:00:00 2001 From: mdrokz <33598169+mdrokz@users.noreply.github.com> Date: Mon, 3 Jan 2022 18:04:17 +0530 Subject: [PATCH] pass CC properly --- scripts/libwebp/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/libwebp/build.sh b/scripts/libwebp/build.sh index 8daf0b5..d2eace7 100644 --- a/scripts/libwebp/build.sh +++ b/scripts/libwebp/build.sh @@ -1,12 +1,11 @@ #!/usr/bin/env bash -CC=${FAM_CC} - ./configure \ --prefix=${INSTALL_DIR} \ --host=${TARGET_TRIPLE_MACHINE_ARCH}-linux-android \ --with-sysroot=${SYSROOT_PATH} \ - --target=${TARGET} || exit 1 + --target=${TARGET} \ + CC=${FAM_CC} || exit 1 ${MAKE_EXECUTABLE} clean ${MAKE_EXECUTABLE} -j${HOST_NPROC}