diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-11-08 03:38:26 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-11-08 03:38:26 +0000 |
commit | d2a527eae6df377b326e8d764782bc34f1e64189 (patch) | |
tree | c6410a4e9171e570ee1ce23ea4347270baddb31d /lib/Driver/Driver.cpp | |
parent | 85b7f7ddf2f09778ec303f5a39f9e67e3aae1115 (diff) |
Driver/Darwin: The -arch argument values aren't exactly the arch names from a
triple.
- Translate the special case of powerpc to its expected -arch name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 0c1641007a..7d63bf4ae6 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -806,7 +806,7 @@ void Driver::BuildUniversalActions(const ToolChain &TC, // When there is no explicit arch for this platform, make sure we still bind // the architecture (to the default) so that -Xarch_ is handled correctly. if (!Archs.size()) - Archs.push_back(Args.MakeArgString(TC.getArchName())); + Archs.push_back(Args.MakeArgString(TC.getDefaultUniversalArchName())); // FIXME: We killed off some others but these aren't yet detected in a // functional manner. If we added information to jobs about which "auxiliary" |