diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-03-17 17:37:29 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-03-17 17:37:29 +0000 |
commit | 7f6f8c8ab29db9221ed40ab7d5317df29848cc52 (patch) | |
tree | d37b777c9eb7fa152577eba424af8d89e277411b /lib/Driver/Tools.cpp | |
parent | fa41d6975058ceb1b8a24564f6dcec72f89f62e8 (diff) |
Driver/Darwin: Suppress spurious warning about -force_cpusubtype_ALL.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 09a1442aed..c5fbdef6e6 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -1905,7 +1905,8 @@ void ClangAs::ConstructJob(Compilation &C, const JobAction &JA, !IsOpt)) CmdArgs.push_back("-relax-all"); - // FIXME: Add -force_cpusubtype_ALL support, once we have it. + // Ignore explicit -force_cpusubtype_ALL option. + (void) Args.hasArg(options::OPT_force__cpusubtype__ALL); // FIXME: Add -g support, once we have it. |