diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-01 15:00:46 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-01 15:00:46 +0000 |
commit | e47f44a832a755119916748720eeedacc3d71191 (patch) | |
tree | 6807d61c0f31b9e26831e289a9fc728f8b8ac550 /gnu | |
parent | 3beb053fc39e7dbb4671a6d61665fb591fede3a4 (diff) | |
download | FreeBSD-src-e47f44a832a755119916748720eeedacc3d71191.zip FreeBSD-src-e47f44a832a755119916748720eeedacc3d71191.tar.gz |
Lock GCC w/o -m32 into 64-bit mode.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 4 |
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 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 |