]> granicus.if.org Git - clang/commitdiff
Driver/Darwin: Suppress spurious warning about -force_cpusubtype_ALL.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 17 Mar 2011 17:37:29 +0000 (17:37 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 17 Mar 2011 17:37:29 +0000 (17:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127819 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 09a1442aeda5d75b692dd2f0b54aa145e2a85809..c5fbdef6e68c66644fd48bb17bda4efe3534a4a2 100644 (file)
@@ -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.