From 87446bb0ead67ff1a2adbd27ab959a3ac773c6cc Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Wed, 27 Sep 2023 17:47:54 +0500 Subject: [PATCH] Compile squashfs-tools with gcc It does not compile successfully with clang --- create-utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create-utils.sh b/create-utils.sh index 4528bc6..5409738 100755 --- a/create-utils.sh +++ b/create-utils.sh @@ -99,9 +99,9 @@ if [ "${build_dwarfs}" != "true" ]; then make -j"$(nproc)" DESTDIR="${script_dir}"/build-utils/bin install cd ../squashfs-tools-"${squashfs_tools_version}"/squashfs-tools || exit 1 - make -j"$(nproc)" GZIP_SUPPORT=1 XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 \ + CC=gcc CXX=g++ make -j"$(nproc)" GZIP_SUPPORT=1 XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 \ LZ4_SUPPORT=1 ZSTD_SUPPORT=1 XATTR_SUPPORT=1 - make INSTALL_DIR="${script_dir}"/build-utils/bin/usr/local/bin install + CC=gcc CXX=g++ make INSTALL_DIR="${script_dir}"/build-utils/bin/usr/local/bin install fi cd "${script_dir}"/build-utils || exit 1