summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-07-06 04:09:13 -0700
committerDan Theisen <djt@hxx.in>2018-07-06 04:09:24 -0700
commit97ed2a1674ee20cd672703799f1e4644695a2064 (patch)
tree3e2c40a71ba7a1112a50ab5d006ee8ed3fc1fdc0 /user
parentc145317fd7a014820ce3b84bdfe5e151710322bf (diff)
downloadpackages-97ed2a1674ee20cd672703799f1e4644695a2064.tar.gz
packages-97ed2a1674ee20cd672703799f1e4644695a2064.tar.bz2
packages-97ed2a1674ee20cd672703799f1e4644695a2064.tar.xz
packages-97ed2a1674ee20cd672703799f1e4644695a2064.zip
user/libjpeg-turbo: add an assembler to fix builds on x86
Diffstat (limited to 'user')
-rw-r--r--user/libjpeg-turbo/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/libjpeg-turbo/APKBUILD b/user/libjpeg-turbo/APKBUILD
index 27c13e889..12d5af767 100644
--- a/user/libjpeg-turbo/APKBUILD
+++ b/user/libjpeg-turbo/APKBUILD
@@ -13,6 +13,10 @@ replaces="libjpeg"
subpackages="$pkgname-doc $pkgname-dev $pkgname-utils"
source="https://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-$pkgver.tar.gz"
+case "$CTARGET_ARCH" in
+pmmx | x86 | x86_64) makedepends="$makedepends nasm" ;;
+esac
+
build() {
cd "$builddir"
./configure \