mirror of
https://github.com/libretro/libretro-super
synced 2025-01-01 09:00:08 +00:00
(libretro-build.sh) Use c++ for CXX - is backwards compatible with
OSX 10.6.8 which didn't have clang++
This commit is contained in:
parent
88a7fe40da
commit
27de3ae179
@ -11,7 +11,7 @@ FORMAT_COMPILER_TARGET_ALT=ios
|
||||
FORMAT_EXT=dylib
|
||||
JOBS=7
|
||||
MAKE=make
|
||||
CXX11="clang++ -std=c++11 -stdlib=libc++"
|
||||
CXX11="clang++ -std=c++11 -stdlib=libc++ -miphoneos-version-min=5.0"
|
||||
IOS=1
|
||||
|
||||
export IOSSDK=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/
|
||||
|
@ -66,7 +66,7 @@ fi
|
||||
|
||||
if [ -z "$CXX" ]; then
|
||||
if [ $FORMAT_COMPILER_TARGET = "osx" ]; then
|
||||
CXX=clang++
|
||||
CXX=c++
|
||||
CXX11="clang++ -std=c++11 -stdlib=libc++"
|
||||
elif [ "$(expr substr $(uname -s) 1 7)" = "MINGW32" ]; then
|
||||
CXX=mingw32-g++
|
||||
|
Loading…
Reference in New Issue
Block a user