aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-11-19 16:23:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-11-19 16:23:35 +0000
commitd02bba8e2abceebd91c162ee4479623791f455b5 (patch)
tree5215304360e4ed79f7de51d29c7c2c96263b24cf /lib/Driver/Tools.cpp
parentaa5f135f8db82b5e5fb1640fd51f8078e0b2d82d (diff)
Driver: Ignore -force_cpusubtype_ALL.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r--lib/Driver/Tools.cpp3
1 files changed, 3 insertions, 0 deletions
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<PrecompileJobAction>(JA)) {
// Use PCH if the user requested it.
bool UsePCH = D.CCCUsePCH;