libjpeg-turbo: fix build on soft-float mipsel-musl.
This commit is contained in:
parent
c608b0c542
commit
0cc34a48fa
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ homepage="http://libjpeg-turbo.virtualgl.org/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=521bb5d3043e7ac063ce3026d9a59cc2ab2e9636c655a2515af5f4706122233e
|
checksum=521bb5d3043e7ac063ce3026d9a59cc2ab2e9636c655a2515af5f4706122233e
|
||||||
|
|
||||||
|
# SIMD uses FP instructions, disable on soft-float MIPS
|
||||||
|
case "$XBPS_TARGET_ARCH" in
|
||||||
|
mips*hf) ;;
|
||||||
|
mips*) configure_args+=" --without-simd" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} docdir=/usr/share/doc/${pkgname} \
|
make DESTDIR=${DESTDIR} docdir=/usr/share/doc/${pkgname} \
|
||||||
exampledir=/usr/share/doc/${pkgname} install
|
exampledir=/usr/share/doc/${pkgname} install
|
||||||
|
|
Loading…
Reference in a new issue