Build hard-float lib32 for mips64hf/mips64elhf

This should fix linker errors when building with clang+lld.
After this change the lib32 compat libraries are now buildt with
-mhard-float instead of -msoft-float

Reviewed By:	brooks, jhb
Differential Revision: https://reviews.freebsd.org/D23229
This commit is contained in:
Alex Richardson 2020-01-27 12:02:47 +00:00
parent 162ae9c834
commit d2c32def56
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357170

View File

@ -79,11 +79,10 @@ LIB32CPUFLAGS= -target mips-unknown-freebsd13.0
.endif
LIB32CPUFLAGS+= -mabi=32
LIB32_MACHINE= mips
LIB32_MACHINE_ARCH:= ${COMPAT_ARCH:S/64//}
.if ${COMPAT_ARCH:Mmips64el*} != ""
LIB32_MACHINE_ARCH= mipsel
_EMULATION= elf32ltsmip_fbsd
.else
LIB32_MACHINE_ARCH= mips
_EMULATION= elf32btsmip_fbsd
.endif
LIB32WMAKEFLAGS= LD="${XLD} -m ${_EMULATION}"