summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-10-13 13:30:52 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-10-13 13:30:52 +0000
commit43ec5d91b844b6d621fb6585c81fd9b05fee8153 (patch)
tree0050d6c87a766ff6f353a7ba9c9260e18e8606d3 /emulators
parentnet/py-kombu: updat eto 3.0.36 (diff)
emulators/citra: unbreak on < 10.2 after r423781
USES=compiler cannot pull newer C++14 compatible libc++ version. In file included from externals/dynarmic/src/frontend/disassembler/disassembler_arm.cpp:15: In file included from externals/dynarmic/src/./frontend/decoder/arm.h:18: In file included from externals/dynarmic/src/./frontend/decoder/decoder_detail.h:14: externals/dynarmic/src/./common/mp.h:34:27: fatal error: no template named 'tuple_element_t' in namespace 'std'; did you mean 'tuple_element'? using type = std::tuple_element_t<ParameterIndex, std::tuple<Args...>>; ~~~~~^~~~~~~~~~~~~~~ tuple_element /usr/include/c++/v1/__tuple:44:62: note: 'tuple_element' declared here template <size_t _Ip, class _Tp> class _LIBCPP_TYPE_VIS_ONLY tuple_element; ^ Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=423915
Diffstat (limited to 'emulators')
-rw-r--r--emulators/citra/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/emulators/citra/Makefile b/emulators/citra/Makefile
index dfed166c265e..d4f6b3eb4d7b 100644
--- a/emulators/citra/Makefile
+++ b/emulators/citra/Makefile
@@ -36,6 +36,8 @@ USES= cmake:outsource compiler:c++14-lang iconv localbase:ldflags
FAVORITE_COMPILER= ${COMPILER_TYPE} # c++14-lib
CXXFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
-D_DECLARE_C99_LDBL_MATH # XXX ports/193528
+CXXFLAGS+= ${CXXFLAGS_${OPSYS}_${OSREL}}
+CXXFLAGS_FreeBSD_10.1= -Dtuple_element_t=tuple_element # libcxx r202673 (c++14)
LDFLAGS+= -Wl,--as-needed # GL
OPTIONS_MULTI= GUI