blob: 5e6df6912a1ed18f6136589505da76141fb41e62 [file] [log] [blame]
SHLIB_VERPFX = $(srcdir)/config/i386/darwin-libgcc
# APPLE LOCAL begin 4099000
LIB1ASMSRC = i386/lib1funcs.asm
LIB1ASMFUNCS = _get_pc_thunk_ax _get_pc_thunk_dx _get_pc_thunk_cx _get_pc_thunk_bx _get_pc_thunk_si _get_pc_thunk_di _get_pc_thunk_bp
# APPLE LOCAL end 4099000
# APPLE LOCAL avoid try fat on thin system
ifneq ($(shell lipo -info /usr/lib/libSystem.B.dylib | grep x86_64),)
MULTILIB_OPTIONS = m64
MULTILIB_DIRNAMES = x86_64
# APPLE LOCAL avoid try fat on thin system
endif
LIB2_SIDITI_CONV_FUNCS=yes
LIB2FUNCS_EXTRA = $(srcdir)/config/darwin-64.c
# APPLE LOCAL begin gcov 5573505
# -pipe because there's an assembler bug, 4077127, which causes
# it to not properly process the first # directive, causing temporary
# file names to appear in stabs, causing the bootstrap to fail. Using -pipe
# works around this by not having any temporary file names.
TARGET_LIBGCC2_CFLAGS = -fPIC -pipe
TARGET_LIBGCC2_STATIC_CFLAGS = -mmacosx-version-min=10.4
# APPLE LOCAL end gcov 5573505