summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-03-03 00:22:05 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-03-03 00:22:05 +0000
commit2adae9b95a5ad1232a10535efdefd334d0302462 (patch)
tree004b22787f29f1a875edb8eb04eb6731bdb3743e /gnu/egcs/gcc/config
parentd087251bb06416a919ec72648de45e240dc05aff (diff)
Define __ELF__ in the gcc for powerpc OpenBSD.
Used by applications which do direct symbol lookups and other compiler/build environment tools/applications. OKed by espie@
Diffstat (limited to 'gnu/egcs/gcc/config')
-rw-r--r--gnu/egcs/gcc/config/rs6000/openbsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config/rs6000/openbsd.h b/gnu/egcs/gcc/config/rs6000/openbsd.h
index 7128797d6ee..4e34ca5afcd 100644
--- a/gnu/egcs/gcc/config/rs6000/openbsd.h
+++ b/gnu/egcs/gcc/config/rs6000/openbsd.h
@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */
/* Run-time target specifications. */
#define CPP_PREDEFINES \
- "-D__PPC -D__PPC__ -D__powerpc -D__powerpc__ -Acpu(powerpc) -Amachine(powerpc)"
+ "-D__ELF__ -D__PPC -D__PPC__ -D__powerpc -D__powerpc__ -Acpu(powerpc) -Amachine(powerpc)"
#undef CPP_OS_DEFAULT_SPEC
#define CPP_OS_DEFAULT_SPEC "%(cpp_os_openbsd)"