From 4d09db017d6450b0d797e8684f36cee0407796e3 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 10 Apr 2017 20:11:59 +0000 Subject: main/xrdp: disable asm on x86 to fix textrels --- main/xrdp/APKBUILD | 5 +++++ 1 file changed, 5 insertions(+) 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 } -- cgit v1.2.3