From c324fcfe75c3976ae0b16943df00710e1d0d74f7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 16 Dec 2014 14:31:24 -0800 Subject: Use pragmas rather than makefiles for necessary options for unwind code. --- sysdeps/nptl/unwind-forcedunwind.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/nptl') diff --git a/sysdeps/nptl/unwind-forcedunwind.c b/sysdeps/nptl/unwind-forcedunwind.c index 9d7bdc5..bbb366f 100644 --- a/sysdeps/nptl/unwind-forcedunwind.c +++ b/sysdeps/nptl/unwind-forcedunwind.c @@ -23,6 +23,8 @@ #include #include +#pragma GCC optimize ("-fexceptions", "-fasynchronous-unwind-tables") + static void *libgcc_s_handle; static void (*libgcc_s_resume) (struct _Unwind_Exception *exc); static _Unwind_Reason_Code (*libgcc_s_personality) -- cgit v1.1