From e47f44a832a755119916748720eeedacc3d71191 Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 1 May 2003 15:00:46 +0000 Subject: Lock GCC w/o -m32 into 64-bit mode. --- gnu/usr.bin/cc/cc_tools/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu') diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 44331d7..6dc181b 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 -- cgit v1.1