forked from OSchip/llvm-project
[AIX] Actually push back "-mabi=vec-extabi" when option is on.
Accidentaly ommitted the portion of pushing back the option in https://reviews.llvm.org/D94986
This commit is contained in:
parent
6057517904
commit
caaaebcde4
|
@ -4684,6 +4684,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
||||||
<< A->getSpelling() << RawTriple.str();
|
<< A->getSpelling() << RawTriple.str();
|
||||||
if (A->getOption().getID() == options::OPT_mabi_EQ_vec_default)
|
if (A->getOption().getID() == options::OPT_mabi_EQ_vec_default)
|
||||||
D.Diag(diag::err_aix_default_altivec_abi);
|
D.Diag(diag::err_aix_default_altivec_abi);
|
||||||
|
if (A->getOption().getID() == options::OPT_mabi_EQ_vec_extabi)
|
||||||
|
CmdArgs.push_back("-mabi=vec-extabi");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Arg *A = Args.getLastArg(options::OPT_Wframe_larger_than_EQ)) {
|
if (Arg *A = Args.getLastArg(options::OPT_Wframe_larger_than_EQ)) {
|
||||||
|
|
Loading…
Reference in New Issue