]> granicus.if.org Git - clang/commitdiff
non-apple targets should be like i386, not the mythical, bogus, linux target.
authorChris Lattner <sabre@nondot.org>
Sun, 15 Jul 2007 01:37:36 +0000 (01:37 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 15 Jul 2007 01:37:36 +0000 (01:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39865 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/Targets.cpp

index 9d52a00a8bd41d1514b85b771000d0885168963f..7755de51ba78a6964b88990fe4058c26971627f2 100644 (file)
@@ -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);