summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libthr/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index c7c0e5a..c4de29a 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -27,6 +27,7 @@ CFLAGS+=-I${.CURDIR}/../libthread_db
CFLAGS+=-Winline
.ifndef NO_THREAD_UNWIND_STACK
+CFLAGS+=-fexceptions
CFLAGS+=-D_PTHREAD_FORCED_UNWIND
.endif
OpenPOWER on IntegriCloud