This commit is contained in:
Brad Smith 2020-08-08 17:58:13 -04:00
parent 4eb4ebf76a
commit 430db35bf2
1 changed files with 1 additions and 1 deletions

View File

@ -1884,7 +1884,7 @@ void Clang::AddPPCTargetArgs(const ArgList &Args,
switch (getToolChain().getArch()) {
case llvm::Triple::ppc64: {
if ((T.isOSFreeBSD() && T.getOSMajorVersion() >= 13) ||
T.isOSOpenBSD() || T.isMusl()
T.isOSOpenBSD() || T.isMusl())
ABIName = "elfv2";
else
ABIName = "elfv1";