forked from OSchip/llvm-project
parent
adfd4df12c
commit
f41ccef5eb
|
@ -566,13 +566,9 @@ void Clang::AddMIPSTargetArgs(const ArgList &Args,
|
|||
|
||||
// If unspecified, choose the default based on the platform.
|
||||
if (FloatABI.empty()) {
|
||||
switch (getToolChain().getTriple().getOS()) {
|
||||
default:
|
||||
// Assume "soft", but warn the user we are guessing.
|
||||
FloatABI = "soft";
|
||||
D.Diag(clang::diag::warn_drv_assuming_mfloat_abi_is) << "soft";
|
||||
break;
|
||||
}
|
||||
// Assume "soft", but warn the user we are guessing.
|
||||
FloatABI = "soft";
|
||||
D.Diag(clang::diag::warn_drv_assuming_mfloat_abi_is) << "soft";
|
||||
}
|
||||
|
||||
if (FloatABI == "soft") {
|
||||
|
|
Loading…
Reference in New Issue