macos: Bump the minimum deployment target to macOS 10.12

Since https://github.com/llvm/llvm-project/pull/117252 and
https://github.com/llvm/llvm-project/commit/186fac33d08b34be494caa58fe63972f69c6d6ab,
part of the latest git main branch, LLDB uses std::shared_mutex.

On macOS, std::shared_mutex is only available since macOS 10.12.

This change raises the deployment target from 10.9 to 10.12.
This commit is contained in:
Martin Storsjö committed 2024-12-13 09:51:58 +02:00
1 parent 5fe69a92ac
commit f84079bb71
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ if [ -n "$MACOS_REDIST" ]; then
CFLAGS="-g -O2"
fi
: ${MACOS_REDIST_ARCHS:=arm64 x86_64}
: ${MACOS_REDIST_VERSION:=10.9}
: ${MACOS_REDIST_VERSION:=10.12}
NONNATIVE_ARCH=
for arch in $MACOS_REDIST_ARCHS; do
CFLAGS="$CFLAGS -arch $arch"