summaryrefslogtreecommitdiff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-12-16 15:46:00 -0800
committerRoland McGrath <roland@hack.frob.com>2014-12-16 15:46:00 -0800
commitf0481d971e9941004814009c1b0877a43aa10bdb (patch)
tree8fb260047cae35d5301e848906d1c145d5a736ad /nptl/Makefile
parentc324fcfe75c3976ae0b16943df00710e1d0d74f7 (diff)
Revert "Use pragmas rather than makefiles for necessary options for unwind code."
This reverts commit c324fcfe75c3976ae0b16943df00710e1d0d74f7.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index 2b804b2ce4..3d61ec1a34 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -146,6 +146,9 @@ libpthread-static-only-routines = pthread_atfork
# nptl-init.c contains sigcancel_handler().
CFLAGS-nptl-init.c = -fexceptions -fasynchronous-unwind-tables
+# The unwind code itself,
+CFLAGS-unwind.c = -fexceptions
+CFLAGS-unwind-forcedunwind.c = -fexceptions -fasynchronous-unwind-tables
# The following three functions must be async-cancel safe.
CFLAGS-pthread_cancel.c = -fexceptions -fasynchronous-unwind-tables