111
|
1 # Set this as a minimum (unless overriden by arch t-files) since it's a
|
|
2 # reasonable lowest common denominator that works for all our archs.
|
|
3 HOST_LIBGCC2_CFLAGS += -mmacosx-version-min=10.5
|
|
4
|
|
5 crt3.o: $(srcdir)/config/darwin-crt3.c
|
|
6 $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -c $<
|
|
7
|
|
8 crttms.o: $(srcdir)/config/darwin-crt-tm.c
|
|
9 $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DSTART -c $<
|
|
10
|
|
11 crttme.o: $(srcdir)/config/darwin-crt-tm.c
|
|
12 $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DEND -c $<
|
|
13
|
|
14 # -pipe because there's an assembler bug, 4077127, which causes
|
|
15 # it to not properly process the first # directive, causing temporary
|
|
16 # file names to appear in stabs, causing the bootstrap to fail. Using -pipe
|
|
17 # works around this by not having any temporary file names.
|
|
18 HOST_LIBGCC2_CFLAGS += -pipe
|
|
19
|
|
20 # Use unwind-dw2-fde-darwin
|
|
21 LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/config/unwind-dw2-fde-darwin.c \
|
|
22 $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
|