Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/mame mame: work around failures on aarch64



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e94fc099227
branches:  trunk
changeset: 434938:8e94fc099227
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jun 28 16:33:58 2020 +0000

description:
mame: work around failures on aarch64

diffstat:

 emulators/mame/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 7ea7db23a1ba -r 8e94fc099227 emulators/mame/Makefile
--- a/emulators/mame/Makefile   Sun Jun 28 15:23:38 2020 +0000
+++ b/emulators/mame/Makefile   Sun Jun 28 16:33:58 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2020/06/02 08:23:46 adam Exp $
+# $NetBSD: Makefile,v 1.116 2020/06/28 16:33:58 nia Exp $
 
 DISTNAME=      mame-0.220
 PKGREVISION=   2
@@ -36,6 +36,13 @@
 MAKE_ENV+=     LDOPTS="${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.flac}/lib -L${BUILDLINK_PREFIX.flac}/lib"
 .endif
 
+.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
+# \todo Arch detection for aarch64 fails, investigate why
+MAKE_FLAGS+=           NOASM=1
+BUILDLINK_TRANSFORM+=  rm:-m32
+BUILDLINK_TRANSFORM+=  rm:-m64
+.endif
+
 # -Werror is problematic
 MAKE_ENV=      NOWERROR=1
 # on Darwin, avoid SDL2.framework



Home | Main Index | Thread Index | Old Index