mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
2004-06-29 Roland McGrath <roland@redhat.com>
* Banner: NPTL no longer has its own version number. * Makefile (nptl-version): Variable removed. * sysdeps/pthread/Makefile (CFLAGS-confstr.c): Set LIBPTHREAD_VERSION using $(version), the glibc version number.
This commit is contained in:
parent
0b8d139044
commit
4f16d3b530
@ -1 +1 @@
|
|||||||
NPTL 0.61 by Ulrich Drepper
|
Native POSIX Threads Library by Ulrich Drepper et al
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
#
|
#
|
||||||
subdir := nptl
|
subdir := nptl
|
||||||
|
|
||||||
nptl-version := $(shell sed -n 's/^[^0-9]* \([0-9.]*\).*$$/\1/p' Banner)
|
|
||||||
|
|
||||||
headers := pthread.h semaphore.h bits/semaphore.h
|
headers := pthread.h semaphore.h bits/semaphore.h
|
||||||
|
|
||||||
extra-libs := libpthread
|
extra-libs := libpthread
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
|
||||||
# This file is part of the GNU C Library.
|
# This file is part of the GNU C Library.
|
||||||
# Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
# Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||||
|
|
||||||
@ -48,5 +48,5 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(subdir),posix)
|
ifeq ($(subdir),posix)
|
||||||
CFLAGS-confstr.c += -DLIBPTHREAD_VERSION="\"$(shell sed 's/\(.*\) by .*/\1/' ../nptl/Banner)\""
|
CFLAGS-confstr.c += -DLIBPTHREAD_VERSION='"NPTL $(version)"'
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user