From fee882c20328cd3ced5620913f2a2a62b2719114 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 21 Jan 2011 18:23:47 +0000 Subject: [PATCH] clang_darwin: We don't need clear_cache for use with Clang on ARM/Darwin. llvm-svn: 123989 --- compiler-rt/make/platform/clang_darwin.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/compiler-rt/make/platform/clang_darwin.mk b/compiler-rt/make/platform/clang_darwin.mk index fec905ab096d..a29793991ebb 100644 --- a/compiler-rt/make/platform/clang_darwin.mk +++ b/compiler-rt/make/platform/clang_darwin.mk @@ -38,11 +38,7 @@ CC := gcc override CC := $(subst -arch ,-arch_,$(CC)) override CC := $(patsubst -arch_%,,$(CC)) -# Note that although we use -fno-builtin here, the backend may still synthesize -# calls to runtime functions. Unfortunately, we currently have no way to -# guarantee that we won't be creating a cycle in the runtime library, aside from -# explicit runtime testing. -CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer -fno-builtin +CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer FUNCTIONS.eprintf := eprintf FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf @@ -58,7 +54,6 @@ CCKEXT_COMMON_FUNCTIONS := \ ashrdi3 \ bswapdi2 \ bswapsi2 \ - clear_cache \ clzdi2 \ clzsi2 \ cmpdi2 \