summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-07-04 05:34:54 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-07-04 05:34:54 +0000
commit9a86dd8ae7c437c24ae6c5d77e4157a932c49993 (patch)
treed9f074ee26b99f880870ad3c4c1f3bcbaca267ba /gnu
parentb534d38ce22cfcba065a86d16491d4b19ab9bea8 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/Makefile.inc4
-rw-r--r--gnu/usr.bin/cc/c++/Makefile3
-rw-r--r--gnu/usr.bin/cc/cc/Makefile3
-rw-r--r--gnu/usr.bin/cc/cpp/Makefile3
4 files changed, 10 insertions, 3 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc
index fce44213620c..806a8a3d91b9 100644
--- a/gnu/usr.bin/cc/Makefile.inc
+++ b/gnu/usr.bin/cc/Makefile.inc
@@ -21,15 +21,13 @@ OUT_OBJ= ${GCC_ARCH}
target= ${TARGET_ARCH}-unknown-freebsd
# These architectures are Cygnus's default for enabling Haifa.
-.if ${GCC_ARCH} == "alpha" || ${GCC_ARCH} == "sparc"
+.if ${GCC_ARCH} == "alpha" || ${GCC_ARCH} == "sparc" || ${GCC_ARCH} == "sparc64"
USE_EGCS_HAIFA= 1
.endif
version!= sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${GCCDIR}/version.c
CFLAGS+= -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H
-CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
-CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\"
.if defined(LONG_TYPE_SIZE)
CFLAGS+= -DLONG_TYPE_SIZE=${LONG_TYPE_SIZE}
diff --git a/gnu/usr.bin/cc/c++/Makefile b/gnu/usr.bin/cc/c++/Makefile
index 4c25003d87b7..d5a37ea66d55 100644
--- a/gnu/usr.bin/cc/c++/Makefile
+++ b/gnu/usr.bin/cc/c++/Makefile
@@ -10,6 +10,9 @@ LINKS= ${BINDIR}/c++ ${BINDIR}/g++
LINKS+= ${BINDIR}/c++ ${BINDIR}/CC
NOMAN= 1
+CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
+CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
+
DPADD+= ${LIBCC_INT} ${LIBCC_FBSD}
LDADD+= ${LIBCC_INT} ${LIBCC_FBSD}
diff --git a/gnu/usr.bin/cc/cc/Makefile b/gnu/usr.bin/cc/cc/Makefile
index 926c57e547a5..435f21f3137a 100644
--- a/gnu/usr.bin/cc/cc/Makefile
+++ b/gnu/usr.bin/cc/cc/Makefile
@@ -11,6 +11,9 @@ SRCS= gcc.c gccspec.c
LINKS= ${BINDIR}/cc ${BINDIR}/gcc
MLINKS= gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1 gcc.1 CC.1
+CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
+CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
+
DPADD+= ${LIBCC_INT} ${LIBCC_FBSD}
LDADD+= ${LIBCC_INT} ${LIBCC_FBSD}
diff --git a/gnu/usr.bin/cc/cpp/Makefile b/gnu/usr.bin/cc/cpp/Makefile
index b5661d3658a7..3ba15347903b 100644
--- a/gnu/usr.bin/cc/cpp/Makefile
+++ b/gnu/usr.bin/cc/cpp/Makefile
@@ -8,6 +8,9 @@ PROG= cpp
SRCS= gcc.c cppspec.c
NOMAN= 1
+CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
+CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
+
DPADD+= ${LIBCC_INT} ${LIBCC_FBSD}
LDADD+= ${LIBCC_INT} ${LIBCC_FBSD}