aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/t-darwin
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/t-darwin')
-rw-r--r--gcc/config/t-darwin6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/t-darwin b/gcc/config/t-darwin
index ab2e6ae05c1..fc8735bd9c0 100644
--- a/gcc/config/t-darwin
+++ b/gcc/config/t-darwin
@@ -22,4 +22,8 @@ LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-darwin.c \
$(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c
-TARGET_LIBGCC2_CFLAGS = -fPIC
+# -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