p4-projects@freebsd.org
[Top] [All Lists]

PERFORCE change 101509 for review

Subject: PERFORCE change 101509 for review
From: John Birrell
Date: Fri, 14 Jul 2006 04:53:32 GMT
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
_______________________________________________
p4-projects@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "p4-projects-unsubscribe@xxxxxxxxxxx"

<Prev in Thread] Current Thread [Next in Thread>
  • PERFORCE change 101509 for review, John Birrell <=