Date: Fri, 14 Jul 2006 04:53:32 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 101509 for review Message-ID: <200607140453.k6E4rWEq032043@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101509 Change 101509 by jb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607140453.k6E4rWEq032043>