Let gcc and ld know where to find 32 bit libraries on amd64.
Reviewed by: arch@ Approved by: kib (mentor)
This commit is contained in:
parent
da068879c5
commit
cac88fd591
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215439
@ -12,7 +12,7 @@ e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em \
|
|||||||
${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE}
|
${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE}
|
||||||
|
|
||||||
X86_EMULATION= elf_i386_fbsd
|
X86_EMULATION= elf_i386_fbsd
|
||||||
_i386_path= \"${TOOLS_PREFIX}/usr/lib/i386\"
|
_i386_path= \"${TOOLS_PREFIX}/usr/lib32\"
|
||||||
EMS+= ${X86_EMULATION}
|
EMS+= ${X86_EMULATION}
|
||||||
.for ext in ${ELF_SCR_EXT}
|
.for ext in ${ELF_SCR_EXT}
|
||||||
LDSCRIPTS+= ${X86_EMULATION}.${ext}
|
LDSCRIPTS+= ${X86_EMULATION}.${ext}
|
||||||
|
@ -307,7 +307,7 @@ GENSRCS+= gcov-iov.h
|
|||||||
|
|
||||||
# Multilib config file
|
# Multilib config file
|
||||||
multilib.h:
|
multilib.h:
|
||||||
.if ${TARGET_ARCH} == "powerpc64"
|
.if ${TARGET_ARCH} == "powerpc64" || ${TARGET_ARCH} == "amd64"
|
||||||
echo 'static const char *const multilib_raw[] = { \
|
echo 'static const char *const multilib_raw[] = { \
|
||||||
". !m64 !m32;", \
|
". !m64 !m32;", \
|
||||||
"64:../lib m64 !m32;", \
|
"64:../lib m64 !m32;", \
|
||||||
|
Loading…
Reference in New Issue
Block a user