Build __clear_cache on ARM with clang now it supports it.

This commit is contained in:
Andrew Turner 2013-06-15 12:16:27 +00:00
parent 1f4f127b99
commit 8b02079f36
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251791

View File

@ -28,6 +28,7 @@ SRCF= absvdi2 \
ashlti3 \
ashrdi3 \
ashrti3 \
clear_cache \
clzdi2 \
clzsi2 \
clzti2 \
@ -125,11 +126,6 @@ SRCF= absvdi2 \
umoddi3 \
umodti3
# Don't build clear_cache on ARM with clang as it is a builtin there.
.if ${MACHINE_CPUARCH} != "arm" || ${COMPILER_TYPE} != "clang"
SRCF+= clear_cache
.endif
# These are already shipped by libc.a on arm and mips
.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips"
SRCF+= adddf3 \