svn commit: r251791 - head/lib/libcompiler_rt

Andrew Turner andrew at FreeBSD.org
Sat Jun 15 12:16:27 UTC 2013


Author: andrew
Date: Sat Jun 15 12:16:27 2013
New Revision: 251791
URL: http://svnweb.freebsd.org/changeset/base/251791

Log:
  Build __clear_cache on ARM with clang now it supports it.

Modified:
  head/lib/libcompiler_rt/Makefile

Modified: head/lib/libcompiler_rt/Makefile
==============================================================================
--- head/lib/libcompiler_rt/Makefile	Sat Jun 15 12:13:22 2013	(r251790)
+++ head/lib/libcompiler_rt/Makefile	Sat Jun 15 12:16:27 2013	(r251791)
@@ -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 \


More information about the svn-src-all mailing list