OSDN Git Service

Backport from mainline:
[pf3gnuchains/gcc-fork.git] / libgcc / config / t-darwin
1 # Pass -fno-tree-dominator-opts to work around bug 26840.
2 crt3.o: $(srcdir)/config/darwin-crt3.c
3         $(crt_compile) \
4           -fno-tree-dominator-opts $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -c $<
5
6 crttms.o: $(srcdir)/config/darwin-crt-tm.c
7         $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DSTART -c $<
8
9 crttme.o: $(srcdir)/config/darwin-crt-tm.c
10         $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DEND -c $<
11
12 # -pipe because there's an assembler bug, 4077127, which causes
13 # it to not properly process the first # directive, causing temporary
14 # file names to appear in stabs, causing the bootstrap to fail.  Using -pipe
15 # works around this by not having any temporary file names.
16 HOST_LIBGCC2_CFLAGS += -pipe
17
18 # Use unwind-dw2-fde-darwin
19 LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/config/unwind-dw2-fde-darwin.c \
20   $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c