From 46bd670a951c9957857e277de800a149c483c9e6 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sun, 15 Sep 2024 13:11:31 +0000 Subject: [PATCH] flac: drop obsolete configure options and use cfg-libs option sse was removed in 1.4.2 - https://github.com/xiph/flac/commit/e7b584eaf979be9d07dcdcc30c54f5fcac95ebac altivec was removes in 1.4.3 - https://github.com/xiph/flac/commit/ba5172e554fa830ebbdc8221f2631297a3b25f74 xmms was removed in 1.4.2 - https://github.com/xiph/flac/commit/8fbeff238c41464fe220cd23c45861c9302d1172 add PKG_BUILD_FLAGS="-cfg-libs" as libcap-ng is built with the follow override PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared" --- packages/audio/flac/package.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/audio/flac/package.mk b/packages/audio/flac/package.mk index db8b51b0d8..4970eb5a38 100644 --- a/packages/audio/flac/package.mk +++ b/packages/audio/flac/package.mk @@ -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 }