Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit ab94fd3

Browse files
committed
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
1 parent 4d055d5 commit ab94fd3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

make/platform/clang_darwin.mk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Description := Static runtime libraries for clang/Darwin.
99
Configs :=
1010
UniversalArchs :=
1111

12+
# Configuration solely for providing access to an eprintf symbol, which may
13+
# still be referenced from Darwin system headers. This symbol is only ever
14+
# needed on i386.
15+
Configs += eprintf
16+
UniversalArchs.eprintf := i386
17+
1218
# Configuration for targetting 10.4. We need a few functions missing from
1319
# libgcc_s.10.4.dylib. We only build x86 slices since clang doesn't really
1420
# support targetting PowerPC.
@@ -38,6 +44,7 @@ override CC := $(patsubst -arch_%,,$(CC))
3844

3945
CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer
4046

47+
FUNCTIONS.eprintf := eprintf
4148
FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
4249
FUNCTIONS.armv6 := switch16 switch32 switch8 switchu8 \
4350
save_vfp_d8_d15_regs restore_vfp_d8_d15_regs

0 commit comments

Comments
 (0)