1180012Sru# $FreeBSD: releng/11.0/sys/boot/Makefile.inc 296417 2016-03-05 20:24:31Z dim $ 2180012Sru 3296417Sdim.include <bsd.own.mk> 4296417Sdim 5188895SruSSP_CFLAGS= 6295421Sandrew 7295421Sandrew.if ${MACHINE_CPUARCH} == "arm" 8295421Sandrew# Do not generate movt/movw, because the relocation fixup for them does not 9295421Sandrew# translate to the -Bsymbolic -pie format required by self_reloc() in loader(8). 10295421Sandrew# Also, the fpu is not available in a standalone environment. 11296417Sdim.if ${COMPILER_VERSION} < 30800 12296417SdimCFLAGS.clang+= -mllvm -arm-use-movt=0 13296417Sdim.else 14296417SdimCFLAGS.clang+= -mno-movt 15296417Sdim.endif 16295421SandrewCFLAGS.clang+= -mfpu=none 17295421Sandrew.endif 18