summaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sparc.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-18 20:02:36 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-18 20:02:36 +0000
commit53cf834dbe037842c0e626117d7fc61e721b423f (patch)
tree88552572ffd689054491f6348befde19ec79f434 /gcc/config/sparc/sparc.h
parentc7410b2942de35844db372e913f113459d9d66d5 (diff)
downloadgcc-53cf834dbe037842c0e626117d7fc61e721b423f.tar.gz
* config/sparc/sparc.h: Define sparc for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66938 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc/sparc.h')
-rw-r--r--gcc/config/sparc/sparc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 05311488e9d..3ec9cded6e8 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -25,11 +25,13 @@ Boston, MA 02111-1307, USA. */
/* Note that some other tm.h files include this one and then override
whatever definitions are necessary. */
-/* Target CPU builtins. */
+/* Target CPU builtins. FIXME: Defining sparc is for the benefit of
+ Solaris only; otheriwse just define __sparc__. Sadly the headers
+ are such a mess there is no Solaris-specific header. */
#define TARGET_CPU_CPP_BUILTINS() \
do \
{ \
- builtin_define ("__sparc__"); \
+ builtin_define_std ("sparc"); \
if (TARGET_64BIT) \
{ \
builtin_assert ("cpu=sparc"); \