PERFORCE change 101509 for review

John Birrell jb at FreeBSD.org
Fri Jul 14 04:53:33 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=101509

Change 101509 by jb at jb_freebsd2 on 2006/07/14 04:53:25

	Only build in the spinlock stubs if not building threads into libc.

Affected files ...

.. //depot/projects/dtrace/src/lib/libc/gen/Makefile.inc#3 edit

Differences ...

==== //depot/projects/dtrace/src/lib/libc/gen/Makefile.inc#3 (text+ko) ====

@@ -4,7 +4,7 @@
 # machine-independent gen sources
 .PATH: ${.CURDIR}/${MACHINE_ARCH}/gen ${.CURDIR}/gen
 
-SRCS+=  __xuname.c _pthread_stubs.c _rand48.c _spinlock_stub.c _thread_init.c \
+SRCS+=  __xuname.c _rand48.c _spinlock_stub.c _thread_init.c \
 	alarm.c arc4random.c assert.c basename.c check_utility_compat.c \
 	clock.c closedir.c confstr.c \
 	crypt.c ctermid.c daemon.c devname.c dirname.c disklabel.c \
@@ -33,6 +33,10 @@
 	usleep.c utime.c valloc.c vis.c wait.c wait3.c waitpid.c \
 	wordexp.c
 
+.if ${MK_LIBC_THREADS} == "no"
+SRCS+=	_spinlock_stub.c
+.endif
+
 SYM_MAPS+=${.CURDIR}/gen/Symbol.map
 
 # machine-dependent gen sources


More information about the p4-projects mailing list