From df4151242b2a7eb5690eebff00f4646354659532 Mon Sep 17 00:00:00 2001 From: Yoshi Sugawara Date: Sun, 8 Sep 2019 15:22:42 -1000 Subject: [PATCH] (iOS/tvOS) add CXX17 compiler --- libretro-config.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro-config.sh b/libretro-config.sh index c63c4b22..de6a8325 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -270,6 +270,7 @@ case "$platform" in CC="cc -arch arm64 -marm -miphoneos-version-min=8.0 -isysroot $IOSSDK" CXX="c++ -arch arm64 -marm -miphoneos-version-min=8.0 -isysroot $IOSSDK" CXX11="clang++ -std=c++11 -stdlib=libc++ -arch arm64 -marm -miphoneos-version-min=8.0 -isysroot $IOSSDK" + CXX17="clang++ -std=c++17 -stdlib=libc++ -arch arm64 -isysroot $IOSSDK" ;; tvos-arm64) @@ -286,6 +287,7 @@ case "$platform" in CC="cc -arch arm64 -marm -mtvos-version-min=9.0 -isysroot $IOSSDK" CXX="c++ -arch arm64 -marm -mtvos-version-min=9.0 -isysroot $IOSSDK" CXX11="clang++ -std=c++11 -stdlib=libc++ -arch arm64 -marm -mtvos-version-min=9.0 -isysroot $IOSSDK" + CXX17="clang++ -std=c++17 -stdlib=libc++ -arch arm64 -isysroot $IOSSDK" ;;