Driver/Darwin: These are command line options, not target features.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127820 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp
index c5fbdef..cf6a853 100644
--- a/lib/Driver/Tools.cpp
+++ b/lib/Driver/Tools.cpp
@@ -594,10 +594,10 @@
// Kernel code has more strict alignment requirements.
if (KernelOrKext) {
- CmdArgs.push_back("-target-feature");
+ CmdArgs.push_back("-mllvm");
CmdArgs.push_back("-arm-long-calls");
- CmdArgs.push_back("-target-feature");
+ CmdArgs.push_back("-mllvm");
CmdArgs.push_back("-arm-strict-align");
}
}