flac: drop obsolete configure options and use cfg-libs option

sse was removed in 1.4.2
- e7b584eaf9

altivec was removes in 1.4.3
- ba5172e554

xmms was removed in 1.4.2
- 8fbeff238c

add PKG_BUILD_FLAGS="-cfg-libs" as libcap-ng is built with the follow override
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared"
This commit is contained in:
Rudi Heitbaum 2024-09-15 13:11:31 +00:00
parent 8c580bf4d3
commit 46bd670a95

View File

@ -12,27 +12,19 @@ PKG_DEPENDS_TARGET="toolchain libogg"
PKG_LONGDESC="An Free Lossless Audio Codec."
PKG_TOOLCHAIN="autotools"
# flac-1.3.1 dont build with LTO support
PKG_BUILD_FLAGS="+pic"
PKG_BUILD_FLAGS="+pic -cfg-libs"
# package specific configure options
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
--disable-rpath \
--disable-altivec \
--disable-doxygen-docs \
--disable-thorough-tests \
--disable-cpplibs \
--disable-xmms-plugin \
--disable-oggtest \
--with-ogg=${SYSROOT_PREFIX}/usr \
--with-gnu-ld"
if target_has_feature sse; then
PKG_CONFIGURE_OPTS_TARGET+=" --enable-sse"
else
PKG_CONFIGURE_OPTS_TARGET+=" --disable-sse"
fi
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
}