Also document iphoneos-version-min.
This commit is contained in:
parent
4fd1c77a24
commit
22e8ced9fd
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue