diff -r e1f3b337ca6a -r 7c0569388c7d scripts/build/libc_glibc.sh --- a/scripts/build/libc_glibc.sh Sun Jul 22 13:27:04 2007 +0000 +++ b/scripts/build/libc_glibc.sh Fri Aug 03 20:27:15 2007 +0000 @@ -150,7 +150,7 @@ [ "${CT_ARCH}" != "arm" ] && cp misc/syscall-list.h "${CT_HEADERS_DIR}/bits/syscall.h" || true # Those headers are to be manually copied so gcc can build properly - pthread_h= + pthread_h="${CT_SRC_DIR}/${CT_LIBC_FILE}/${CT_THREADS}/sysdeps/pthread/pthread.h" pthreadtypes_h= case "${CT_THREADS}" in nptl) @@ -163,9 +163,12 @@ fi ;; linuxthreads) - pthread_h="${CT_SRC_DIR}/${CT_LIBC_FILE}/${CT_THREADS}/sysdeps/pthread/pthread.h" pthreadtypes_h="${CT_SRC_DIR}/${CT_LIBC_FILE}/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h" ;; + *) + pthread_h= + pthreadtypes_h= + ;; esac if [ -n "${pthread_h}" ]; then cp -v "${pthread_h}" "${CT_HEADERS_DIR}/pthread.h" 2>&1 |CT_DoLog ALL