mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 08:33:24 +00:00
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:
parent
542f4d6282
commit
01e5a2aede
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116859
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user