summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-09-20 08:41:19 +0000
committernia <nia@pkgsrc.org>2021-09-20 08:41:19 +0000
commite63d0d3ebfa0e920ef16568674cbb3503d27dfa8 (patch)
tree334e2ddfb9c458b330b71d1b7e2bc235fae11f06 /emulators
parent6533c3d06e49d8c2a14740753839633b2cd99f93 (diff)
downloadpkgsrc-e63d0d3ebfa0e920ef16568674cbb3503d27dfa8.tar.gz
MAME switched to C++17, fix building it on NetBSD/aarch64.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index a536dc62b5e..a200241251f 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2021/09/08 21:05:00 nia Exp $
+# $NetBSD: Makefile,v 1.139 2021/09/20 08:41:19 nia Exp $
DISTNAME= mame-0.235
PKGREVISION= 1
@@ -44,8 +44,8 @@ BUILDLINK_TRANSFORM+= rm:-m32
BUILDLINK_TRANSFORM+= rm:-m64
.endif
-# Need to use gnu++14 instead of c++14 to get __builtin_alloca() (!)
-BUILDLINK_TRANSFORM+= opt:-std=c++14:-std=gnu++14
+# Need to use gnu++ instead of c++ to get __builtin_alloca() (!)
+BUILDLINK_TRANSFORM+= opt:-std=c++17:-std=gnu++17
# -Werror is problematic
MAKE_ENV= NOWERROR=1