diff options
author | nia <nia@pkgsrc.org> | 2019-05-18 09:42:03 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-05-18 09:42:03 +0000 |
commit | c8d7d5b0fcf98ba42eaa827efe654cd6931b79ff (patch) | |
tree | e74ca80f1eade8014823f16531d56248fbd3f357 /emulators | |
parent | b6f23a6e5fb810bba6a2f9d20657d1e3f5e78a08 (diff) | |
download | pkgsrc-c8d7d5b0fcf98ba42eaa827efe654cd6931b79ff.tar.gz |
libretro-bsnes-mercury: Don't break on aarch64.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/libretro-bsnes-mercury/Makefile.common | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/emulators/libretro-bsnes-mercury/Makefile.common b/emulators/libretro-bsnes-mercury/Makefile.common index ebd6d7c48cf..4112ce5893b 100644 --- a/emulators/libretro-bsnes-mercury/Makefile.common +++ b/emulators/libretro-bsnes-mercury/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.3 2018/10/03 09:33:41 nia Exp $ +# $NetBSD: Makefile.common,v 1.4 2019/05/18 09:42:03 nia Exp $ # # used by emulators/libretro-bsnes-mercury/Makefile # used by emulators/libretro-bsnes-mercury-accuracy/Makefile @@ -35,5 +35,12 @@ do-install: ${INSTALL_LIB} ${WRKSRC}/out/bsnes_mercury_${BSNES_PROFILE}_libretro.so \ ${DESTDIR}${PREFIX}/lib/libretro/bsnes_mercury_${BSNES_PROFILE}_libretro.so +.include "../../mk/bsd.fast.prefs.mk" + +# Needed in libco/aarch64.c +.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "aarch64eb" +CFLAGS+= -DHAVE_POSIX_MEMALIGN=1 +.endif + .include "../../mk/dlopen.buildlink3.mk" BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q} |