aboutsummaryrefslogtreecommitdiffstats
path: root/testing/freeimage
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-02-06 16:17:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-02-08 19:08:13 +0000
commite0ddf9af18c79e78d12f7228a055a0dc403c2580 (patch)
tree55d78a2539ffdc9ff848c3451bca4cc2388aa5b8 /testing/freeimage
parentcb85638e977cc83289200ec6c1a1d21bec399643 (diff)
downloadaports-e0ddf9af18c79e78d12f7228a055a0dc403c2580.tar.bz2
aports-e0ddf9af18c79e78d12f7228a055a0dc403c2580.tar.xz
testing/freeimage: fix link errors to freeimage.so on ppc64le
Diffstat (limited to 'testing/freeimage')
-rw-r--r--testing/freeimage/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/freeimage/APKBUILD b/testing/freeimage/APKBUILD
index eb7f4347cf..1115dae75b 100644
--- a/testing/freeimage/APKBUILD
+++ b/testing/freeimage/APKBUILD
@@ -3,7 +3,7 @@
pkgname=freeimage
_pkgname="FreeImage"
pkgver=3.18.0
-pkgrel=0
+pkgrel=1
pkgdesc="Open Source library project for developers who would like to support popular graphics image formats."
url="http://freeimage.sourceforge.net/"
arch="all"
@@ -27,6 +27,7 @@ build() {
cd "$builddir"
case "$CARCH" in
aarch64) export CFLAGS="$CFLAGS -DPNG_ARM_NEON_OPT=0";;
+ ppc64le) export CFLAGS="$CFLAGS -U__ALTIVEC__";;
esac
make
}