diff options
author | nia <nia@pkgsrc.org> | 2020-06-28 16:33:58 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-06-28 16:33:58 +0000 |
commit | e052d65dfd95171b5a6d2c65f9595a115e3f77e0 (patch) | |
tree | 293a7c00e0a021270851e6d05c99a08492f9a504 /emulators/mame | |
parent | 0163a0910651a656f16ecb1032310a21cc2f3a45 (diff) | |
download | pkgsrc-e052d65dfd95171b5a6d2c65f9595a115e3f77e0.tar.gz |
mame: work around failures on aarch64
Diffstat (limited to 'emulators/mame')
-rw-r--r-- | emulators/mame/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile index a4a02d6727c..be1a36bf4dc 100644 --- a/emulators/mame/Makefile +++ b/emulators/mame/Makefile @@ -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${BUILDL 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 |