summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/librthread/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile
index 427a8fa0d5b..bdc89260880 100644
--- a/lib/librthread/Makefile
+++ b/lib/librthread/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2011/11/06 12:15:51 guenther Exp $
+# $OpenBSD: Makefile,v 1.18 2011/11/27 04:12:43 guenther Exp $
LIB=rthread
WANTLINT=
@@ -8,6 +8,7 @@ LIBCSRCDIR= ${.CURDIR}/../libc
CFLAGS+=-Wall -g -Werror -Wshadow
CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -Wsign-compare
CFLAGS+=-I${LIBCSRCDIR}/arch/${MACHINE_CPU} -I${LIBCSRCDIR}/include
+LDADD = -Wl,-znodelete,-zinitfirst
.PATH: ${.CURDIR}/arch/${MACHINE_CPU}
SRCS= rthread.c rthread_attr.c rthread_sched.c rthread_sync.c rthread_tls.c \