summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r--lib/libcompiler_rt/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile
index cc89c61..507e87c 100644
--- a/lib/libcompiler_rt/Makefile
+++ b/lib/libcompiler_rt/Makefile
@@ -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 \
OpenPOWER on IntegriCloud