summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2010-10-08 01:53:33 +0000
committerdavidxu <davidxu@FreeBSD.org>2010-10-08 01:53:33 +0000
commitde54e693fda91295c9e061b7ebc091f350b94541 (patch)
tree5cd27b6e42103427dec45e5b54c82d2f0c596887
parent3bf7c8781dd3ce41992984fbc6219c75342f113b (diff)
downloadFreeBSD-src-de54e693fda91295c9e061b7ebc091f350b94541.zip
FreeBSD-src-de54e693fda91295c9e061b7ebc091f350b94541.tar.gz
Oops, don't remove -fexceptions flag.
-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