From 4bd70a202ef4f88bc788d55769964a6928490376 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 2 Apr 2016 19:56:54 +0000 Subject: Wrap and to eliminate PLT entries for internal references. Use _thread_pagesize for the semaphore mmap size instead of calling getpagesize() each time. ok beck@ --- lib/librthread/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/librthread/Makefile') diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile index c4fae147425..28d35a0052b 100644 --- a/lib/librthread/Makefile +++ b/lib/librthread/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.40 2015/05/19 20:50:06 guenther Exp $ +# $OpenBSD: Makefile,v 1.41 2016/04/02 19:56:53 guenther Exp $ LIB=pthread LIBCSRCDIR= ${.CURDIR}/../libc @@ -6,7 +6,8 @@ LIBCSRCDIR= ${.CURDIR}/../libc CFLAGS+=-Wall -g -Werror -Wshadow CFLAGS+=-Wmissing-prototypes -Wstrict-prototypes CFLAGS+=-Wsign-compare -CFLAGS+=-I${LIBCSRCDIR}/arch/${MACHINE_CPU} -I${LIBCSRCDIR}/include +CFLAGS+=-I${.CURDIR} -include namespace.h \ + -I${LIBCSRCDIR}/arch/${MACHINE_CPU} -I${LIBCSRCDIR}/include CDIAGFLAGS= LDADD = -Wl,-znodelete,-zinitfirst,-znodlopen @@ -47,3 +48,5 @@ SRCDIR= ${.CURDIR}/../libpthread .include "${SRCDIR}/include/Makefile.inc" .include "${SRCDIR}/man/Makefile.inc" .include + +${OBJS} ${GOBJS} ${POBJS} ${SOBJS} ${DOBJS}: ${.CURDIR}/namespace.h -- cgit v1.2.3