summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-06-15 12:16:27 +0000
committerandrew <andrew@FreeBSD.org>2013-06-15 12:16:27 +0000
commit5c4b0ac2d716218a6029f8eda4c0c74710978c45 (patch)
treeda7ceaafc4a00620da1c05f42ac935e53ce528ba /lib/libcompiler_rt
parent739fcd601deec1874f0a7cdf88ec53f4a3fa337d (diff)
downloadFreeBSD-src-5c4b0ac2d716218a6029f8eda4c0c74710978c45.zip
FreeBSD-src-5c4b0ac2d716218a6029f8eda4c0c74710978c45.tar.gz
Build __clear_cache on ARM with clang now it supports it.
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