xz: drop host build and move xz to non-sysroot

This commit is contained in:
Rudi Heitbaum 2024-03-30 03:42:02 +00:00
parent 4101b36d19
commit f55cebe219

View File

@ -8,22 +8,11 @@ PKG_SHA256="0b54f79df85912504de0b14aec7971e3f964491af1812d83447005807513cd9e"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="https://tukaani.org/xz/" PKG_SITE="https://tukaani.org/xz/"
PKG_URL="https://github.com/tukaani-project/xz/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_URL="https://github.com/tukaani-project/xz/releases/download/v${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host"
PKG_DEPENDS_TARGET="autotools:host gcc:host" PKG_DEPENDS_TARGET="autotools:host gcc:host"
PKG_LONGDESC="A free general-purpose data compression software with high compression ratio." PKG_LONGDESC="A free general-purpose data compression software with high compression ratio."
PKG_BUILD_FLAGS="+pic +pic:host" PKG_BUILD_FLAGS="+pic -sysroot"
PKG_TOOLCHAIN="configure" PKG_TOOLCHAIN="configure"
# never build shared or k0p happens when building
# on fedora due to host selinux/liblzma
PKG_CONFIGURE_OPTS_HOST="--disable-shared --enable-static \
--disable-lzmadec \
--disable-lzmainfo \
--enable-lzma-links \
--disable-nls \
--disable-scripts \
--enable-symbol-versions=no"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \ PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \ --disable-shared \
--disable-doc \ --disable-doc \