summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-05-01 15:00:46 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-05-01 15:00:46 +0000
commit8f3bf9945d34fd56802f2bf5725a50c71d7b3672 (patch)
tree6807d61c0f31b9e26831e289a9fc728f8b8ac550
parente50fb9d50048f9ed8f7059098396023129c1550d (diff)
Notes
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 44331d78c7d3..6dc181ba00fe 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -143,6 +143,10 @@ tconfig.h:
echo 'union tree_node;' >> ${.TARGET}
echo 'typedef union tree_node *tree;' >> ${.TARGET}
echo '' >> ${.TARGET}
+# XXX: consider including i386/biarch64.h instead of below
+.if ${TARGET_ARCH} == "amd64"
+ echo '#define TARGET_64BIT_DEFAULT 1' >>${.TARGET}
+.endif
.if ${TARGET_ARCH} == "ia64"
echo '#define TARGET_CPU_DEFAULT (MASK_GNU_AS|MASK_GNU_LD)' >>${.TARGET}
.endif