blob: 17088d782da7b74af18744fd72cfd00184932eb1 [file] [log] [blame]
Toomas Soome199767f2015-10-25 00:06:51 +03001# $FreeBSD$
2
3SSP_CFLAGS=
4
5.if ${MACHINE_CPUARCH} == "arm"
6# Do not generate movt/movw, because the relocation fixup for them does not
7# translate to the -Bsymbolic -pie format required by self_reloc() in loader(8).
8# Also, the fpu is not available in a standalone environment.
9CFLAGS.clang+= -mllvm -arm-use-movt=0
10CFLAGS.clang+= -mfpu=none
11.endif