aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-15 01:37:36 +0000
committerChris Lattner <sabre@nondot.org>2007-07-15 01:37:36 +0000
commitc3f893748348ae71a2c61fbfcd1bd4cbe12d10e7 (patch)
treee8910032769dc1616073cfa903d59803b4bc6c0b
parent9594acf32de2939b15eafa8fe818607bfc56bf66 (diff)
non-apple targets should be like i386, not the mythical, bogus, linux target.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39865 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/Targets.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Driver/Targets.cpp b/Driver/Targets.cpp
index 9d52a00a8b..7755de51ba 100644
--- a/Driver/Targets.cpp
+++ b/Driver/Targets.cpp
@@ -417,8 +417,8 @@ TargetInfo *clang::CreateTargetInfo(Diagnostic &Diags) {
// current host. TODO: This is a hack. :)
if (Archs.empty()) {
#ifndef __APPLE__
- // Assume non-apple = linux.
- Archs.push_back(target_linux_i386);
+ // Assume non-apple = i386 for now.
+ Archs.push_back(target_i386);
#elif (defined(__POWERPC__) || defined (__ppc__) || defined(_POWER)) && \
defined(__ppc64__)
Archs.push_back(target_ppc64);