[cfe-commits] r51554 - /cfe/trunk/lib/Basic/Targets.cpp
Eli Friedman
eli.friedman at gmail.com
Sat May 24 22:26:09 PDT 2008
Author: efriedma
Date: Sun May 25 00:26:09 2008
New Revision: 51554
URL: http://llvm.org/viewvc/llvm-project?rev=51554&view=rev
Log:
Make sure to define __sparc__ on Solaris; this should "fix"
test/Codegen/mandel.c on Solaris. :-)
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=51554&r1=51553&r2=51554&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Sun May 25 00:26:09 2008
@@ -849,6 +849,7 @@
SolarisTargetInfo::getTargetDefines(Defines);
// getSparcDefines(Defines, false);
Define(Defines, "__sparc");
+ Define(Defines, "__sparc__");
Define(Defines, "__sparcv8");
}
virtual void getTargetBuiltins(const Builtin::Info *&Records,
More information about the cfe-commits
mailing list