summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-03-17 17:37:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-03-17 17:37:29 +0000
commit1d733e2d7eb0f597e871a56d91c24cbde6b902f4 (patch)
treec9566fd62398f183ccf7917ce0be3adefa2754d5 /clang/lib/Driver/Tools.cpp
parentc9388c11f1b1484d7aadc1ed46289c06e066d79e (diff)
downloadbcm5719-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.cpp3
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.
OpenPOWER on IntegriCloud