diff options
-rw-r--r-- | contrib/gcc/gcc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gcc/gcc.c b/contrib/gcc/gcc.c index 42b3094..6da5837 100644 --- a/contrib/gcc/gcc.c +++ b/contrib/gcc/gcc.c @@ -1562,6 +1562,9 @@ init_spec () #else "-lgcc_s%M" #endif +#ifdef USE_LIBUNWIND_EXCEPTIONS + " -lunwind" +#endif , "-lgcc", "-lgcc_eh"); |