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 | 1d733e2d7eb0f597e871a56d91c24cbde6b902f4 (patch) | |
tree | c9566fd62398f183ccf7917ce0be3adefa2754d5 /clang/lib/Driver/Tools.cpp | |
parent | c9388c11f1b1484d7aadc1ed46289c06e066d79e (diff) | |
download | bcm5719-llvm-1d733e2d7eb0f597e871a56d91c24cbde6b902f4.tar.gz bcm5719-llvm-1d733e2d7eb0f597e871a56d91c24cbde6b902f4.zip |
Driver/Darwin: Suppress spurious warning about -force_cpusubtype_ALL.
llvm-svn: 127819
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 09a1442aeda..c5fbdef6e68 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/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. |