aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index cee00edd2d..9d9179b621 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -1468,10 +1468,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
}
if (Version == 2 || Version == 3) {
- if (Version == 2)
- CmdArgs.push_back("-fobjc-nonfragile-abi");
- else
- CmdArgs.push_back("-fobjc-nonfragile-abi2");
+ CmdArgs.push_back("-fobjc-nonfragile-abi");
// -fobjc-dispatch-method is only relevant with the nonfragile-abi, and
// legacy is the default.