libretro-desmume: Don't define __STDC_FORMAT_MACROS, this uses C++11.
Set USE_LANGUAGES to the proper value instead, so redefining the macro isn't needed. Bump PKGREVISION.
This commit is contained in:
parent
e5e0de502f
commit
2706dcff52
1 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.9 2019/05/12 09:49:39 nia Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2019/05/20 10:32:32 nia Exp $
|
||||
|
||||
DISTNAME= libretro-desmume-20190426
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
|
||||
GITHUB_PROJECT= desmume
|
||||
|
@ -16,12 +16,10 @@ EXTRACT_USING= bsdtar
|
|||
BUILD_DIRS= desmume/src/frontend/libretro
|
||||
MAKE_FILE= Makefile.libretro
|
||||
USE_TOOLS+= gmake
|
||||
USE_LANGUAGES= c c++
|
||||
USE_LANGUAGES= c99 gnu++11
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
CXXFLAGS+= -D__STDC_FORMAT_MACROS
|
||||
|
||||
.if !empty(MACHINE_ARCH:M*arm*)
|
||||
CXXFLAGS+= -marm
|
||||
CXXFLAGS+= -DUSE_POSIX_MEMALIGN -D__RETRO_ARM__
|
||||
|
|
Loading…
Reference in a new issue