1 DARWIN_EXTRA_CRT_BUILD_CFLAGS = -mlongcall -mmacosx-version-min=10.4
3 crt2.o: $(srcdir)/config/rs6000/darwin-crt2.c
4 $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -c $<
6 LIB2ADD = $(srcdir)/config/rs6000/darwin-tramp.S \
7 $(srcdir)/config/darwin-64.c \
8 $(srcdir)/config/rs6000/darwin-fpsave.S \
9 $(srcdir)/config/rs6000/darwin-gpsave.S \
10 $(srcdir)/config/rs6000/darwin-world.S \
11 $(srcdir)/config/rs6000/ppc64-fp.c
14 $(srcdir)/config/rs6000/darwin-vecsave.S
16 # The .S files above are designed to run on all processors, even though
17 # they use AltiVec instructions.
18 # -Wa is used because -force_cpusubtype_ALL doesn't work with -dynamiclib.
19 # -mmacosx-version-min=10.4 is used to provide compatibility for code from
20 # earlier OSX versions.
21 HOST_LIBGCC2_CFLAGS += -Wa,-force_cpusubtype_ALL -mmacosx-version-min=10.4
23 LIB2ADDEH += $(srcdir)/config/rs6000/darwin-fallback.c