From: Daniel Dunbar Date: Fri, 19 Nov 2010 16:23:35 +0000 (+0000) Subject: Driver: Ignore -force_cpusubtype_ALL. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d02bba8e2abceebd91c162ee4479623791f455b5;p=clang Driver: Ignore -force_cpusubtype_ALL. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119803 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 60d2fe3792..338c541825 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -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(JA)) { // Use PCH if the user requested it. bool UsePCH = D.CCCUsePCH;