diff options
author | nia <nia@pkgsrc.org> | 2020-06-28 13:30:29 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-06-28 13:30:29 +0000 |
commit | b499d658338101e376642b847148a309316ff9db (patch) | |
tree | 2a550f8502a3a9cb8374b29522cf72fa48c71648 /emulators/retroarch | |
parent | 54f3595580ee5ef5ce76fe8c9319d672399d6c5f (diff) | |
download | pkgsrc-b499d658338101e376642b847148a309316ff9db.tar.gz |
retroarch: Centralise definition of HAVE_POSIX_MEMALIGN
Diffstat (limited to 'emulators/retroarch')
-rw-r--r-- | emulators/retroarch/core.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emulators/retroarch/core.mk b/emulators/retroarch/core.mk index 8429279ba44..f7a317cf515 100644 --- a/emulators/retroarch/core.mk +++ b/emulators/retroarch/core.mk @@ -1,4 +1,4 @@ -# $NetBSD: core.mk,v 1.4 2020/06/25 15:22:50 nia Exp $ +# $NetBSD: core.mk,v 1.5 2020/06/28 13:30:29 nia Exp $ MASTER_SITES?= ${MASTER_SITE_GITHUB:=libretro/} @@ -32,6 +32,9 @@ CFLAGS+= -DBYTE_ORDER=BIG_ENDIAN CFLAGS+= -DWORDS_BIGENDIAN -DMSB_FIRST .endif +# Avoid using memalign() in libco on NetBSD. +CFLAGS.NetBSD+= -DHAVE_POSIX_MEMALIGN=1 + BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--no-undefined INSTALLATION_DIRS+= lib/libretro |