summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-01-12 02:53:28 +0000
committerjb <jb@FreeBSD.org>1998-01-12 02:53:28 +0000
commite430c03c79e4e54e720815b2d9f150815494b229 (patch)
tree2cc4a2f8aa7bd27aa6489a823fcbc0bf56e722a6 /contrib/gcc
parentd9d8bf6d30a04d79ca9d60f80000053eb3f8b46d (diff)
downloadFreeBSD-src-e430c03c79e4e54e720815b2d9f150815494b229.zip
FreeBSD-src-e430c03c79e4e54e720815b2d9f150815494b229.tar.gz
Upgrade the cpp pre-defines to include -Dunix. Turns out we need that
to compile m4. And don't just define __FreeBSD__, but define it as -D__FreeBSD__=3 like on i386.
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/alpha/freebsd-elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/config/alpha/freebsd-elf.h b/contrib/gcc/config/alpha/freebsd-elf.h
index e6891b5..d57f963 100644
--- a/contrib/gcc/config/alpha/freebsd-elf.h
+++ b/contrib/gcc/config/alpha/freebsd-elf.h
@@ -32,7 +32,7 @@
((len > 1 && !strncmp (str, "gsdb", len)) ? SDB_DEBUG : DBX_DEBUG)
#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-D__alpha -D__alpha__ -D__FreeBSD__ -D__ELF__"
+#define CPP_PREDEFINES "-Dunix -D__alpha -D__alpha__ -D__ELF__ -D__FreeBSD__=3 -Asystem(unix) -Asystem(FreeBSD) -Acpu(alpha) -Amachine(alpha)"
#undef LINK_SPEC
#define LINK_SPEC "-m elf64alpha \
OpenPOWER on IntegriCloud