diff -r 6336f985e2c0 -r 9e1a17fdf363 scripts/build/libc/glibc-eglibc.sh-common --- a/scripts/build/libc/glibc-eglibc.sh-common Mon Feb 21 19:20:19 2011 +0100 +++ b/scripts/build/libc/glibc-eglibc.sh-common Mon Feb 21 19:27:28 2011 +0100 @@ -83,7 +83,12 @@ # error: bits/syscall.h: No such file or directory # solved by following copy; see http://sourceware.org/ml/crossgcc/2005-05/msg00168.html # but it breaks arm, see http://sourceware.org/ml/crossgcc/2006-01/msg00091.html - [ "${CT_ARCH}" != "arm" ] && CT_DoExecLog ALL cp -v misc/syscall-list.h "${CT_HEADERS_DIR}/bits/syscall.h" || true + case "${CT_ARCH}" in + arm) ;; + *) CT_DoExecLog ALL cp -v "misc/syscall-list.h" \ + "${CT_HEADERS_DIR}/bits/syscall.h" + ;; + esac fi if [ "${CT_THREADS}" = "nptl" ]; then