summaryrefslogtreecommitdiffstats
path: root/lib/librt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librt/Makefile')
-rw-r--r--lib/librt/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/librt/Makefile b/lib/librt/Makefile
index f98d94e..86be751 100644
--- a/lib/librt/Makefile
+++ b/lib/librt/Makefile
@@ -3,14 +3,15 @@
LIB=rt
SHLIB_MAJOR= 1
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}
+.ifndef NO_THREAD_STACK_UNWIND
+CFLAGS+=-fexceptions
+.endif
CFLAGS+=-Winline -Wall -g
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
WARNS?= 2
-#MAN= libthr.3
-
SRCS+= aio.c mq.c sigev_thread.c timer.c
PRECIOUSLIB=
OpenPOWER on IntegriCloud