diff options
| author | joerg <joerg@NetBSD.org> | 2019-11-11 22:44:56 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2019-11-11 22:44:56 +0000 |
| commit | 918c74ea12c6bac6ca9bd2147337c0e4fec5010e (patch) | |
| tree | 3ef5212d84042aedbd5e0629e2c7dc2de1751526 /lib/libpthread | |
| parent | 5578004b9757994411ac0c8b959a53c2063844d1 (diff) | |
Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index 54d64cf9612..73ffbf552c4 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.95 2019/09/22 18:45:20 brad Exp $ +# $NetBSD: Makefile,v 1.96 2019/11/11 22:45:27 joerg Exp $ # NOSANITIZER= # defined @@ -36,6 +36,10 @@ CPPFLAGS+= -I${ARCHDIR} -I${.CURDIR} -I${.OBJDIR} -D_LIBC -D_REENTRANT CPPFLAGS+= -I${.CURDIR}/../libc/include CPPFLAGS+= -D__LIBPTHREAD_SOURCE__ -D__LIBC_THREAD_STUBS +# Since <pthread.h> is not used, allow declaring pthread_create and +# friends locally. +CWARNFLAGS.clang+= -Wno-builtin-requires-header + # XXX: This crappy poke at libc's internals needs to be fixed. CPPFLAGS+=-I${NETBSDSRCDIR}/sys -I${.CURDIR}/../libc |
