aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index f6f0ec1..7b9ea63 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -1656,7 +1656,11 @@ init_spec (void)
#endif
,
"libgcc.a%s",
- "libgcc_eh.a%s");
+ "libgcc_eh.a%s"
+#ifdef USE_LIBUNWIND_EXCEPTIONS
+ " -lunwind"
+#endif
+ );
p += 10;
in_sep = 0;
}