]> granicus.if.org Git - clang/commitdiff
Driver: Ignore -force_cpusubtype_ALL.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 19 Nov 2010 16:23:35 +0000 (16:23 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 19 Nov 2010 16:23:35 +0000 (16:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119803 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 60d2fe37925cb6162bff7fa38bf7cc51d057648c..338c5418255126de7352dcd69e7da4b43f28e772 100644 (file)
@@ -840,6 +840,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
         }
       }
     }
+
+    // Also ignore explicit -force_cpusubtype_ALL option.
+    (void) Args.hasArg(options::OPT_force__cpusubtype__ALL);
   } else if (isa<PrecompileJobAction>(JA)) {
     // Use PCH if the user requested it.
     bool UsePCH = D.CCCUsePCH;