summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-09-21 23:42:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-09-21 23:42:49 +0000
commitab94fd371211921be9ee3b3c7f9a817bddaff3e3 (patch)
tree64b1f21c448ff437ca085c1b63b5a7e19066aad1 /make
parent4d055d584cdc9c65e09092238a905c6f20b829ec (diff)
downloadcompiler-rt-ab94fd371211921be9ee3b3c7f9a817bddaff3e3.tar.gz
compiler-rt/clang/Darwin: Add a new library configuration which has nothing
other than eprintf for i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@114504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
-rw-r--r--make/platform/clang_darwin.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
index d66454758..23cd3a42f 100644
--- a/make/platform/clang_darwin.mk
+++ b/make/platform/clang_darwin.mk
@@ -9,6 +9,12 @@ Description := Static runtime libraries for clang/Darwin.
Configs :=
UniversalArchs :=
+# Configuration solely for providing access to an eprintf symbol, which may
+# still be referenced from Darwin system headers. This symbol is only ever
+# needed on i386.
+Configs += eprintf
+UniversalArchs.eprintf := i386
+
# Configuration for targetting 10.4. We need a few functions missing from
# libgcc_s.10.4.dylib. We only build x86 slices since clang doesn't really
# support targetting PowerPC.
@@ -38,6 +44,7 @@ override CC := $(patsubst -arch_%,,$(CC))
CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer
+FUNCTIONS.eprintf := eprintf
FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
FUNCTIONS.armv6 := switch16 switch32 switch8 switchu8 \
save_vfp_d8_d15_regs restore_vfp_d8_d15_regs