ARM: Compile whole tree with clang.
Note: GCC is still the default compiler, to use clang do the following: $ BUILDVARS="" ./releasetools/arm_sdimage.sh
This commit is contained in:
@@ -115,6 +115,10 @@ USETOOLS?= never
|
||||
# LSC FIXME: RELEASEMACHINEDIR is set to evbarm, instead of evbearm-el
|
||||
.if !empty(MACHINE:Mevbarm*)
|
||||
RELEASEMACHINEDIR:= evbearm-el
|
||||
# LSC: Clang uses floating point instruction to vectorize some operation, even
|
||||
# at -O0, make sure it uses soft-float as the minix uKernel doesn't yet
|
||||
# save / restore the hardware fpu context on ARM.
|
||||
CFLAGS+= -mno-implicit-float -fno-vectorize
|
||||
.endif
|
||||
|
||||
.if ${HAVE_GCC:Dyes} == "yes" || \
|
||||
|
||||
Reference in New Issue
Block a user