diff options
Diffstat (limited to 'devel/linuxthreads/files/patch-aa')
| -rw-r--r-- | devel/linuxthreads/files/patch-aa | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/linuxthreads/files/patch-aa b/devel/linuxthreads/files/patch-aa index a805bfcb649f..1eaa73d68cdb 100644 --- a/devel/linuxthreads/files/patch-aa +++ b/devel/linuxthreads/files/patch-aa @@ -13,7 +13,7 @@ diff -ru ../../work/linuxthreads-2.2.3/Examples/Makefile ./Examples/Makefile diff -ru ../../work/linuxthreads-2.2.3/Makefile ./Makefile --- ../../work/linuxthreads-2.2.3/Makefile Wed Apr 25 21:50:59 2001 +++ ./Makefile Thu Jun 7 23:13:52 2001 -@@ -1,128 +1,122 @@ +@@ -1,128 +1,126 @@ -# Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc. -# This file is part of the GNU C Library. +LIB=lthread @@ -74,6 +74,10 @@ diff -ru ../../work/linuxthreads-2.2.3/Makefile ./Makefile +LD=${LINUXTHREADS_WRAP_LD} +.endif + ++.if defined(LINUXTHREADS_NO_POSIX_PRIORITY_SCHEDULING) ++CFLAGS += -DLINUXTHREADS_NO_POSIX_PRIORITY_SCHEDULING ++.endif ++ +CFLAGS += -I${LIBSRC_BASE}/libc/${MACHINE_ARCH} -I${.CURDIR}/sysdeps/${MACHINE_ARCH} + +# Contents of the library. @@ -82,7 +86,7 @@ diff -ru ../../work/linuxthreads-2.2.3/Makefile ./Makefile + libc_calls.c libc_thread.c manager.c mutex.c pt-machine.c ptfork.c \ + pthread.c ptlongjmp.c rwlock.c sched.c semaphore.c signals.c \ + specific.c spinlock.c uthread_file.c wraputhread.c wrapsyscall.c \ -+ barrier.c localtime.c ++ barrier.c localtime.c getlogin.c telldir.c ttyname.c strptime.c + +.if defined(USING_GCC3) +SOBJS += libgcc_r/unwind-sjlj.o libgcc_r/unwind-dw2.o libgcc_r/unwind-dw2-fde.o |
