Also document iphoneos-version-min.

This commit is contained in:
aspen 2020-07-01 12:21:48 -04:00
parent 4fd1c77a24
commit 22e8ced9fd
No known key found for this signature in database
GPG key ID: 732932968965DE56

View file

@ -423,6 +423,7 @@ fn configure_cmake(
if let Some(ref s) = builder.config.llvm_cflags {
cflags.push_str(&format!(" {}", s));
}
// Some compiler features used by LLVM (such as thread locals) will not work on a min version below iOS 10.
if target.contains("apple-ios") {
if target.contains("86-") {
cflags.push_str(" -miphonesimulator-version-min=10.0");