From: Daniel Dunbar Date: Thu, 17 Mar 2011 17:37:29 +0000 (+0000) Subject: Driver/Darwin: Suppress spurious warning about -force_cpusubtype_ALL. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f6f8c8ab29db9221ed40ab7d5317df29848cc52;p=clang 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 --- 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.