Configure gcc in biarch mode for amd64 so that the -m32 flag is enabled

for things like boot blocks etc.

Reviewed by:  kan
This commit is contained in:
Peter Wemm 2003-06-26 03:02:32 +00:00
parent 542f4d6282
commit 01e5a2aede
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116859

View File

@ -143,9 +143,8 @@ 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}
echo '#include "i386/biarch64.h" >> ${.TARGET}
.endif
.if ${TARGET_ARCH} == "ia64"
echo '#define TARGET_CPU_DEFAULT (MASK_GNU_AS|MASK_GNU_LD)' >>${.TARGET}