diff options
author | peter <peter@FreeBSD.org> | 2003-06-26 03:02:32 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-06-26 03:02:32 +0000 |
commit | f5eb833dbfc4fa84a845c743f3e7cd12f0c20395 (patch) | |
tree | 058e14be975c3920770d8578fcb325102fe936db /gnu | |
parent | 3ebd7677e2434e356b5e1dbe727c341012523b2d (diff) | |
download | FreeBSD-src-f5eb833dbfc4fa84a845c743f3e7cd12f0c20395.zip FreeBSD-src-f5eb833dbfc4fa84a845c743f3e7cd12f0c20395.tar.gz |
Configure gcc in biarch mode for amd64 so that the -m32 flag is enabled
for things like boot blocks etc.
Reviewed by: kan
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 6dc181b..92574e2 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} |