A little cleanup in the glibc's pthread headers install.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Aug 03 20:27:15 2007 +0000 (2007-08-03)
changeset 3127c0569388c7d
parent 311 f4f9c809f472
child 313 2f223aafc7cb
A little cleanup in the glibc's pthread headers install.
scripts/build/libc_glibc.sh
     1.1 --- a/scripts/build/libc_glibc.sh	Mon Jul 30 21:27:10 2007 +0000
     1.2 +++ b/scripts/build/libc_glibc.sh	Fri Aug 03 20:27:15 2007 +0000
     1.3 @@ -150,7 +150,7 @@
     1.4      [ "${CT_ARCH}" != "arm" ] && cp misc/syscall-list.h "${CT_HEADERS_DIR}/bits/syscall.h" || true
     1.5  
     1.6      # Those headers are to be manually copied so gcc can build properly
     1.7 -    pthread_h=
     1.8 +    pthread_h="${CT_SRC_DIR}/${CT_LIBC_FILE}/${CT_THREADS}/sysdeps/pthread/pthread.h"
     1.9      pthreadtypes_h=
    1.10      case "${CT_THREADS}" in
    1.11          nptl)
    1.12 @@ -163,9 +163,12 @@
    1.13              fi
    1.14              ;;
    1.15          linuxthreads)
    1.16 -            pthread_h="${CT_SRC_DIR}/${CT_LIBC_FILE}/${CT_THREADS}/sysdeps/pthread/pthread.h"
    1.17              pthreadtypes_h="${CT_SRC_DIR}/${CT_LIBC_FILE}/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h"
    1.18              ;;
    1.19 +        *)
    1.20 +            pthread_h=
    1.21 +            pthreadtypes_h=
    1.22 +            ;;
    1.23      esac
    1.24      if [ -n "${pthread_h}" ]; then
    1.25          cp -v "${pthread_h}" "${CT_HEADERS_DIR}/pthread.h" 2>&1 |CT_DoLog ALL