scripts/build/libc/glibc-eglibc.sh-common
changeset 2314 9e1a17fdf363
parent 2313 6336f985e2c0
child 2353 3fd8d44ba9bc
     1.1 --- a/scripts/build/libc/glibc-eglibc.sh-common	Mon Feb 21 19:20:19 2011 +0100
     1.2 +++ b/scripts/build/libc/glibc-eglibc.sh-common	Mon Feb 21 19:27:28 2011 +0100
     1.3 @@ -83,7 +83,12 @@
     1.4          #  error: bits/syscall.h: No such file or directory
     1.5          # solved by following copy; see http://sourceware.org/ml/crossgcc/2005-05/msg00168.html
     1.6          # but it breaks arm, see http://sourceware.org/ml/crossgcc/2006-01/msg00091.html
     1.7 -        [ "${CT_ARCH}" != "arm" ] && CT_DoExecLog ALL cp -v misc/syscall-list.h "${CT_HEADERS_DIR}/bits/syscall.h" || true
     1.8 +        case "${CT_ARCH}" in
     1.9 +            arm)    ;;
    1.10 +            *)  CT_DoExecLog ALL cp -v "misc/syscall-list.h"            \
    1.11 +                                       "${CT_HEADERS_DIR}/bits/syscall.h"
    1.12 +                ;;
    1.13 +        esac
    1.14      fi
    1.15  
    1.16      if [ "${CT_THREADS}" = "nptl" ]; then