summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-01-21 18:23:47 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-01-21 18:23:47 +0000
commite512f7ffd8b7e6636b4a5cb66b2968b2c3608ff5 (patch)
tree524ca54f7e14d7a7bbf26764ffecd590dd876a62
parent4e105fbbc36f267636e4fb5627a7a5face201ad9 (diff)
downloadcompiler-rt-e512f7ffd8b7e6636b4a5cb66b2968b2c3608ff5.tar.gz
clang_darwin: We don't need clear_cache for use with Clang on ARM/Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@123989 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--make/platform/clang_darwin.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
index fec905ab0..a29793991 100644
--- a/make/platform/clang_darwin.mk
+++ b/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 \