xref: /netbsd-src/external/gpl3/gcc/dist/libgcc/config/t-darwin (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1crt3.o: $(srcdir)/config/darwin-crt3.c
2	$(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -c $<
3
4crttms.o: $(srcdir)/config/darwin-crt-tm.c
5	$(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DSTART -c $<
6
7crttme.o: $(srcdir)/config/darwin-crt-tm.c
8	$(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DEND -c $<
9
10# -pipe because there's an assembler bug, 4077127, which causes
11# it to not properly process the first # directive, causing temporary
12# file names to appear in stabs, causing the bootstrap to fail.  Using -pipe
13# works around this by not having any temporary file names.
14HOST_LIBGCC2_CFLAGS += -pipe
15
16# Use unwind-dw2-fde-darwin
17LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/config/unwind-dw2-fde-darwin.c \
18  $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
19