mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
flac: correct altivec/vsx configure options for ppc targets
[ci skip]
This commit is contained in:
parent
4db03a89f8
commit
11baa9380a
1 changed files with 4 additions and 1 deletions
|
@ -15,8 +15,11 @@ license="BSD-3-Clause, GPL-2"
|
||||||
distfiles="https://downloads.xiph.org/releases/flac/flac-${version}.tar.xz"
|
distfiles="https://downloads.xiph.org/releases/flac/flac-${version}.tar.xz"
|
||||||
checksum=213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748
|
checksum=213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748
|
||||||
|
|
||||||
|
# TODO: make into options
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc64|ppc64-musl) configure_args+=" --disable-vsx";;
|
ppc64le*) configure_args+=" --enable-altivec --enable-vsx" ;;
|
||||||
|
ppc64*) configure_args+=" --enable-altivec --disable-vsx" ;;
|
||||||
|
ppc*) configure_args+=" --disable-altivec --disable-vsx" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue