[cfe-commits] r119803 - /cfe/trunk/lib/Driver/Tools.cpp

Daniel Dunbar daniel at zuster.org
Fri Nov 19 08:23:35 PST 2010


Author: ddunbar
Date: Fri Nov 19 10:23:35 2010
New Revision: 119803

URL: http://llvm.org/viewvc/llvm-project?rev=119803&view=rev
Log:
Driver: Ignore -force_cpusubtype_ALL.

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=119803&r1=119802&r2=119803&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Fri Nov 19 10:23:35 2010
@@ -840,6 +840,9 @@
         }
       }
     }
+
+    // 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;





More information about the cfe-commits mailing list