scripts/build/libc/glibc.sh
changeset 1627 8aa1d1051a6a
parent 1559 fb3c65878439
child 1641 fce0c507c9e5
     1.1 --- a/scripts/build/libc/glibc.sh	Sat Oct 03 18:21:41 2009 +0200
     1.2 +++ b/scripts/build/libc/glibc.sh	Mon Nov 16 20:24:03 2009 +0100
     1.3 @@ -141,7 +141,7 @@
     1.4      extra_config+=("$(do_libc_min_kernel_config)")
     1.5  
     1.6      # Pre-seed the configparms file with values from the config option
     1.7 -    echo "${CT_LIBC_GLIBC_CONFIGPARMS}" > configparms
     1.8 +    printf "${CT_LIBC_GLIBC_CONFIGPARMS}\n" > configparms
     1.9  
    1.10      cross_cc=$(CT_Which "${CT_TARGET}-gcc")
    1.11      CT_DoLog DEBUG "Using gcc for target: '${cross_cc}'"
    1.12 @@ -309,7 +309,7 @@
    1.13      CT_DoLog DEBUG "Extra CC args passed    : '${extra_cc_args}'"
    1.14  
    1.15      # Pre-seed the configparms file with values from the config option
    1.16 -    echo "${CT_LIBC_GLIBC_CONFIGPARMS}" > configparms
    1.17 +    printf "${CT_LIBC_GLIBC_CONFIGPARMS}\n" > configparms
    1.18  
    1.19      echo "libc_cv_forced_unwind=yes" > config.cache
    1.20      echo "libc_cv_c_cleanup=yes" >> config.cache
    1.21 @@ -418,7 +418,7 @@
    1.22      CT_DoLog DEBUG "Extra CC args passed    : '${extra_cc_args}'"
    1.23  
    1.24      # Pre-seed the configparms file with values from the config option
    1.25 -    echo "${CT_LIBC_GLIBC_CONFIGPARMS}" > configparms
    1.26 +    printf "${CT_LIBC_GLIBC_CONFIGPARMS}\n" > configparms
    1.27  
    1.28      # For glibc 2.3.4 and later we need to set some autoconf cache
    1.29      # variables, because nptl/sysdeps/pthread/configure.in does not