Open maxirmx opened 2 years ago
libarchive build can be minimised with
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env CFLAGS=${CROSSFLAGS}
# ${LIBARCHIVE_SOURCE_DIR}/configure
# ${HOST_OPTION}
# --srcdir=${LIBARCHIVE_SOURCE_DIR}
# --prefix=${DEPS}
# --without-bz2lib
# --without-libb2
# --without-libiconv-prefix
# --without-xml2
# --without-expat
# --without-cng
# --disable-bsdtar
# --disable-bsdcat
# --disable-bsdcpio
# --enable-shared=no
however migrating from cmake to auto tools creates some issues with cross-compilation that needs to be researched
Depending on the environment (optionally) scripts build
configurations shall be revised to ensure that the minimal applicable build configuration is used