forked from OSchip/llvm-project
Roll logic into a single if statement, per David's suggestion.
llvm-svn: 156502
This commit is contained in:
parent
bf8628e62f
commit
7b1fee1fe5
|
@ -528,10 +528,9 @@ void Darwin::AddDeploymentTarget(DerivedArgList &Args) const {
|
|||
|
||||
// If no OSX or iOS target has been specified and we're compiling for armv7,
|
||||
// go ahead as assume we're targeting iOS.
|
||||
if (OSXTarget.empty() && iOSTarget.empty())
|
||||
if (getDarwinArchName(Args) == "armv7") {
|
||||
if (OSXTarget.empty() && iOSTarget.empty() &&
|
||||
getDarwinArchName(Args) == "armv7")
|
||||
iOSTarget = iOSVersionMin;
|
||||
}
|
||||
|
||||
// Handle conflicting deployment targets
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue