aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/t-darwin
blob: e32127e9d8a2e0f3a6f9bc9a64d87a8a1105c5bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Pass -fno-tree-dominator-opts to work around bug 26840.
crt3.o: $(srcdir)/config/darwin-crt3.c
	$(crt_compile) \
	  -fno-tree-dominator-opts $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -c $<

# -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.
HOST_LIBGCC2_CFLAGS += -pipe

# Use unwind-dw2-fde-darwin
LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/config/unwind-dw2-fde-darwin.c \
  $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c