From 5d76308275fe5e0542c563483c21d452e11d53f4 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Wed, 16 Nov 2016 03:24:20 +0000 Subject: [PATCH] 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 --- sys/conf/Makefile.mips | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/conf/Makefile.mips b/sys/conf/Makefile.mips index d1e692390803..de006c018e6d 100644 --- a/sys/conf/Makefile.mips +++ b/sys/conf/Makefile.mips @@ -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