scripts/build/libc_glibc.sh
changeset 317 ca15018d30bd
parent 282 e1f3b337ca6a
child 328 3241340146dc
     1.1 --- a/scripts/build/libc_glibc.sh	Sun Jul 22 13:27:04 2007 +0000
     1.2 +++ b/scripts/build/libc_glibc.sh	Tue Aug 07 17:10:07 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