forked from OSchip/llvm-project
parent
146c640e81
commit
f5a8f49487
|
@ -6639,11 +6639,11 @@ void darwin::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
SourceAction = SourceAction->getInputs()[0];
|
||||
}
|
||||
|
||||
// If -fno_integrated_as is used add -Q to the darwin assember driver to make
|
||||
// If -fno-integrated-as is used add -Q to the darwin assember driver to make
|
||||
// sure it runs its system assembler not clang's integrated assembler.
|
||||
// Applicable to darwin11+ and Xcode 4+. darwin<10 lacked integrated-as.
|
||||
// FIXME: at run-time detect assembler capabilities or rely on version
|
||||
// information forwarded by -target-assembler-version (future)
|
||||
// information forwarded by -target-assembler-version.
|
||||
if (Args.hasArg(options::OPT_fno_integrated_as)) {
|
||||
const llvm::Triple &T(getToolChain().getTriple());
|
||||
if (!(T.isMacOSX() && T.isMacOSXVersionLT(10, 7)))
|
||||
|
|
Loading…
Reference in New Issue