From bcbac08b5439a7d7bcd92f9cf101267c8c794bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 1 May 2017 10:06:18 +0200 Subject: [PATCH] mame: fix 32bit builds --- srcpkgs/mame/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mame/template b/srcpkgs/mame/template index 983bceca5bc..f2128edf84e 100644 --- a/srcpkgs/mame/template +++ b/srcpkgs/mame/template @@ -32,7 +32,9 @@ fi do_build() { local opts="REGENIE=1" opts+=" TARGETOS=linux" - opts+=" PTR64=1" + case "$XBPS_TARGET_MACHINE" in + x86_64*|aarch64*) opts+=" PTR64=1" ;; + esac opts+=" NOWERROR=1" opts+=" TOOLS=1" opts+=" VERBOSE=1"