Compile trampoline with soft-float on MIPS, to match the rest of the kernel

Core kernel is always compiled with -msoft-float on all of our platforms,
make sure we follow the suit with trampoline as well.

Reviewed by:	adrian, br, imp
Differential Revision:	https://reviews.freebsd.org/D8507
This commit is contained in:
Alexander Kabaev 2016-11-16 03:24:20 +00:00
parent 20d197f463
commit 5d76308275
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308713

View File

@ -52,6 +52,8 @@ CFLAGS+=${EXTRA_FLAGS} $(ARCH_FLAGS)
HACK_EXTRA_FLAGS+=${EXTRA_FLAGS} $(ARCH_FLAGS)
TRAMP_ARCH_FLAGS?=$(ARCH_FLAGS)
TRAMP_EXTRA_FLAGS=${EXTRA_FLAGS} ${TRAMP_ARCH_FLAGS}
# Kernel code is always compiled with soft-float on MIPS
TRAMP_EXTRA_FLAGS+=-msoft-float
.if ${MACHINE_ARCH:Mmips64*} != ""
TRAMP_ELFSIZE=64
.else