diff options
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libstand/Makefile b/lib/libstand/Makefile index ee8087b..9740d29 100644 --- a/lib/libstand/Makefile +++ b/lib/libstand/Makefile @@ -49,7 +49,11 @@ SRCS+= bcmp.c bcopy.c bzero.c ffs.c fls.c \ # Do not generate movt/movw, because the relocation fixup for them does not # translate to the -Bsymbolic -pie format required by self_reloc() in loader(8). # Also, the fpu is not available in a standalone environment. +.if ${COMPILER_VERSION} < 30800 CFLAGS.clang+= -mllvm -arm-use-movt=0 +.else +CFLAGS.clang+= -mno-movt +.endif CFLAGS.clang+= -mfpu=none # Compiler support functions |