aboutsummaryrefslogtreecommitdiffstats
path: root/main/xrdp/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-04-10 20:11:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-10 20:11:59 +0000
commit4d09db017d6450b0d797e8684f36cee0407796e3 (patch)
treebe3076ee03c295e743a3978be67c72efd8c737e0 /main/xrdp/APKBUILD
parentcabe8f1d9ef3a825bffe31ebb91c35acd2492764 (diff)
downloadaports-4d09db017d6450b0d797e8684f36cee0407796e3.tar.bz2
aports-4d09db017d6450b0d797e8684f36cee0407796e3.tar.xz
main/xrdp: disable asm on x86 to fix textrels
Diffstat (limited to 'main/xrdp/APKBUILD')
-rw-r--r--main/xrdp/APKBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/xrdp/APKBUILD b/main/xrdp/APKBUILD
index 62ca56672c..07ced70065 100644
--- a/main/xrdp/APKBUILD
+++ b/main/xrdp/APKBUILD
@@ -23,6 +23,10 @@ source="https://github.com/neutrinolabs/xrdp/releases/download/v$pkgver/xrdp-$pk
builddir="$srcdir/$pkgname-$pkgver"
build() {
+ local _simd_opt=""
+ if [ "$CARCH" = "x86" ]; then
+ _simd_opt="--without-simd"
+ fi
cd "$builddir"
./bootstrap || return 1
./configure \
@@ -34,6 +38,7 @@ build() {
--enable-fuse \
--disable-pam \
--enable-tjpeg \
+ $_simd_opt \
|| return 1
make || return 1
}