From: Chris Lattner Date: Sun, 15 Jul 2007 01:37:36 +0000 (+0000) Subject: non-apple targets should be like i386, not the mythical, bogus, linux target. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3f893748348ae71a2c61fbfcd1bd4cbe12d10e7;p=clang 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 --- 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);