diff --git a/srcpkgs/mame/template b/srcpkgs/mame/template index 983bceca5b..f2128edf84 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"