Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ide-support/revsaveasiosstandalone.livecodescript
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,11 @@ private command revSaveAsMobileStandaloneMain pStack, pAppBundle, pTarget, pSett
-- MM-2013-09-23: [[ iOS7 Support ]] Use g++ instead of llvm-g++-4.2. XCode 5.0 uses llvm 5.0.
-- g++ appears to be sym-linked to the appropriate compiler in all SDKS.
-- SN-2015-02-19: [[ Bug 14625 ]] The minimum iOS version is bound to the architecture
get shell("g++ -arch " & tArch && "-miphoneos-version-min=" & tiPhoneMinVersion[tArch] && " -w " & quote & "@" & tLinkOptionsFile & quote)

-- PM-2021-06-10: [[ Bug 23234 ]] g++ might not be symlinked correctly, so use full path to clang++ instead
local tCommand
put tSdkRoot & "/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" into tCommand
get shell(tCommand & " -arch " & tArch && "-miphoneos-version-min=" & tiPhoneMinVersion[tArch] && " -w " & quote & "@" & tLinkOptionsFile & quote)

put tArchSpecificEngineFile & space after tArchSpecificEngineList
delete file tLinkOptionsFile
Expand Down