[cfe-commits] r39865 - /cfe/trunk/Driver/Targets.cpp
Chris Lattner
sabre at nondot.org
Sat Jul 14 18:37:37 PDT 2007
Author: lattner
Date: Sat Jul 14 20:37:36 2007
New Revision: 39865
URL: http://llvm.org/viewvc/llvm-project?rev=39865&view=rev
Log:
non-apple targets should be like i386, not the mythical, bogus, linux target.
Modified:
cfe/trunk/Driver/Targets.cpp
Modified: cfe/trunk/Driver/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/Targets.cpp?rev=39865&r1=39864&r2=39865&view=diff
==============================================================================
--- cfe/trunk/Driver/Targets.cpp (original)
+++ cfe/trunk/Driver/Targets.cpp Sat Jul 14 20:37:36 2007
@@ -417,8 +417,8 @@
// 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);
More information about the cfe-commits
mailing list