pass CC properly

pull/59/head
mdrokz 3 years ago
parent 388294b2ea
commit 8c4b2e8e3b
  1. 5
      scripts/libwebp/build.sh

@ -1,12 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
CC=${FAM_CC}
./configure \ ./configure \
--prefix=${INSTALL_DIR} \ --prefix=${INSTALL_DIR} \
--host=${TARGET_TRIPLE_MACHINE_ARCH}-linux-android \ --host=${TARGET_TRIPLE_MACHINE_ARCH}-linux-android \
--with-sysroot=${SYSROOT_PATH} \ --with-sysroot=${SYSROOT_PATH} \
--target=${TARGET} || exit 1 --target=${TARGET} \
CC=${FAM_CC} || exit 1
${MAKE_EXECUTABLE} clean ${MAKE_EXECUTABLE} clean
${MAKE_EXECUTABLE} -j${HOST_NPROC} ${MAKE_EXECUTABLE} -j${HOST_NPROC}

Loading…
Cancel
Save