summaryrefslogtreecommitdiff
path: root/user/dosbox
diff options
context:
space:
mode:
Diffstat (limited to 'user/dosbox')
-rw-r--r--user/dosbox/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/user/dosbox/APKBUILD b/user/dosbox/APKBUILD
index e811aa22c..f3a83f46e 100644
--- a/user/dosbox/APKBUILD
+++ b/user/dosbox/APKBUILD
@@ -21,6 +21,12 @@ source="https://github.com/joncampbell123/dosbox-x/archive/dosbox-x-wip-20180513
builddir="$srcdir/dosbox-x-dosbox-x-wip-20180513-1316"
build() {
+ _extra_conf=""
+
+ case $CTARGET_ARCH in
+ pmmx) _extra_conf="--disable-dynamic-x86";;
+ esac
+
./autogen.sh
./configure \
--build=$CBUILD \
@@ -28,7 +34,8 @@ build() {
--prefix=/usr \
--enable-debug \
--enable-core-inline \
- --enable-sdl2
+ --enable-sdl2 \
+ $_extra_conf
make
}