iOS: update minimum iOS version to 12.0

None of the tools we use work with older versions, anyway.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-08-29 16:09:46 -07:00
parent 7801b0c28a
commit 0af410d6ce
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ for ARCH in $ARCHS; do
declare -x CC=$(xcrun -sdk $SDK_NAME -find clang)
declare -x CXX=$(xcrun -sdk $SDK_NAME -find clang++)
declare -x LD=$(xcrun -sdk $SDK_NAME -find ld)
declare -x CFLAGS="-arch $ARCH_NAME -isysroot $SDK_DIR -miphoneos-version-min=10.0 -I$SDK_DIR/usr/include -fembed-bitcode"
declare -x CFLAGS="-arch $ARCH_NAME -isysroot $SDK_DIR -miphoneos-version-min=12.0 -I$SDK_DIR/usr/include -fembed-bitcode"
declare -x CXXFLAGS="$CFLAGS"
declare -x LDFLAGS="$CFLAGS -lsqlite3 -lpthread -lc++ -L$SDK_DIR/usr/lib -fembed-bitcode"