From 9e40dc36ede6b4b775f8db5a0d0bf4384d31b845 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 3 Sep 2024 12:02:19 +0800 Subject: [PATCH] Add shims for iOS C++ compilation. --- iOS/Resources/bin/arm64-apple-ios-clang++ | 2 ++ iOS/Resources/bin/arm64-apple-ios-simulator-clang++ | 2 ++ iOS/Resources/bin/x86_64-apple-ios-simulator-clang++ | 2 ++ 3 files changed, 6 insertions(+) create mode 100755 iOS/Resources/bin/arm64-apple-ios-clang++ create mode 100755 iOS/Resources/bin/arm64-apple-ios-simulator-clang++ create mode 100755 iOS/Resources/bin/x86_64-apple-ios-simulator-clang++ diff --git a/iOS/Resources/bin/arm64-apple-ios-clang++ b/iOS/Resources/bin/arm64-apple-ios-clang++ new file mode 100755 index 00000000000000..f24bec11268f7e --- /dev/null +++ b/iOS/Resources/bin/arm64-apple-ios-clang++ @@ -0,0 +1,2 @@ +#!/bin/sh +xcrun --sdk iphoneos${IOS_SDK_VERSION} clang++ -target arm64-apple-ios $@ diff --git a/iOS/Resources/bin/arm64-apple-ios-simulator-clang++ b/iOS/Resources/bin/arm64-apple-ios-simulator-clang++ new file mode 100755 index 00000000000000..ef37d05b512959 --- /dev/null +++ b/iOS/Resources/bin/arm64-apple-ios-simulator-clang++ @@ -0,0 +1,2 @@ +#!/bin/sh +xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang++ -target arm64-apple-ios-simulator $@ diff --git a/iOS/Resources/bin/x86_64-apple-ios-simulator-clang++ b/iOS/Resources/bin/x86_64-apple-ios-simulator-clang++ new file mode 100755 index 00000000000000..86f03ea32bc2fd --- /dev/null +++ b/iOS/Resources/bin/x86_64-apple-ios-simulator-clang++ @@ -0,0 +1,2 @@ +#!/bin/sh +xcrun --sdk iphonesimulator${IOS_SDK_VERSION} clang++ -target x86_64-apple-ios-simulator $@