From 01e5a2aede4bcd7b12403113e7a0d56674157ffa Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 26 Jun 2003 03:02:32 +0000 Subject: Configure gcc in biarch mode for amd64 so that the -m32 flag is enabled for things like boot blocks etc. Reviewed by: kan --- gnu/usr.bin/cc/cc_tools/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 6dc181ba00fe..92574e244ba3 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -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} -- cgit v1.3