mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-26 09:58:38 +01:00
Compile squashfs-tools with gcc
It does not compile successfully with clang
This commit is contained in:
parent
cb4ec2c740
commit
87446bb0ea
1 changed files with 2 additions and 2 deletions
|
@ -99,9 +99,9 @@ if [ "${build_dwarfs}" != "true" ]; then
|
||||||
make -j"$(nproc)" DESTDIR="${script_dir}"/build-utils/bin install
|
make -j"$(nproc)" DESTDIR="${script_dir}"/build-utils/bin install
|
||||||
|
|
||||||
cd ../squashfs-tools-"${squashfs_tools_version}"/squashfs-tools || exit 1
|
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
|
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
|
fi
|
||||||
|
|
||||||
cd "${script_dir}"/build-utils || exit 1
|
cd "${script_dir}"/build-utils || exit 1
|
||||||
|
|
Loading…
Reference in a new issue