mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04: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
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue