Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-bsnes-mercury libretro-bsnes-mercur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c3d65ac9262e
branches:  trunk
changeset: 434220:c3d65ac9262e
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jun 13 10:01:06 2020 +0000

description:
libretro-bsnes-mercury: Uncondition HAVE_POSIX_MEMALIGN so it works on 32-bit arm

diffstat:

 emulators/libretro-bsnes-mercury/Makefile.common |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r e4fc6ea7d3f4 -r c3d65ac9262e emulators/libretro-bsnes-mercury/Makefile.common
--- a/emulators/libretro-bsnes-mercury/Makefile.common  Sat Jun 13 09:47:40 2020 +0000
+++ b/emulators/libretro-bsnes-mercury/Makefile.common  Sat Jun 13 10:01:06 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2020/05/31 11:45:45 nia Exp $
+# $NetBSD: Makefile.common,v 1.7 2020/06/13 10:01:06 nia Exp $
 #
 # used by emulators/libretro-bsnes-mercury/Makefile
 # used by emulators/libretro-bsnes-mercury-accuracy/Makefile
@@ -26,10 +26,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-# Needed in libco/aarch64.c
-.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb"
-CFLAGS+=       -DHAVE_POSIX_MEMALIGN=1
-.endif
+# libco/aarch64.c and libco/armeabi.c try to use memalign() otherwise,
+CFLAGS.NetBSD+=                -DHAVE_POSIX_MEMALIGN=1
 
 LIBRETRO_CORE= bsnes_mercury_${BSNES_PROFILE}
 



Home | Main Index | Thread Index | Old Index