From cd9cbd137a396ba3c5c305d75d8ea1130a2aa469 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 31 Jan 1999 21:18:36 +0000 Subject: [PATCH] correct cpp spec for elf. --- gnu/dist/gcc/config/sparc/netbsdelf.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/dist/gcc/config/sparc/netbsdelf.h b/gnu/dist/gcc/config/sparc/netbsdelf.h index c258e6e633c6..1a34c6fe5395 100644 --- a/gnu/dist/gcc/config/sparc/netbsdelf.h +++ b/gnu/dist/gcc/config/sparc/netbsdelf.h @@ -5,9 +5,6 @@ /* ok, clean up after */ -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-D__sparc__ -D__NetBSD__ -D__ELF__ -D__KPRINTF_ATTRIBUTE__" - /* clean up after */ #undef CPP_SUBTARGET_SPEC #define CPP_SUBTARGET_SPEC "" @@ -15,6 +12,11 @@ #define NETBSD_ELF #include +#undef CPP_PREDEFINES +#define CPP_PREDEFINES "\ +-D__sparc__ -D__sparc -D__NetBSD__ -D__ELF__ -D__KPRINTF_ATTRIBUTE__ \ +-Asystem(unix) -Asystem(NetBSD) -Acpu(sparc) -Amachine(sparc)" + #undef SIZE_TYPE #define SIZE_TYPE "unsigned int"