diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-16 20:24:03 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-11-16 20:24:03 +0100 |
commit | bd8e670d5e06870cb952fa88b3990e47b7747e7a (patch) | |
tree | ffdc7468d0921e03e9bef23670d555d0af5dc5b5 /scripts/build/libc | |
parent | 6c882486475e1253c5143134207edd816f44afbb (diff) | |
download | crosstool-ng-bd8e670d5e06870cb952fa88b3990e47b7747e7a.tar.gz crosstool-ng-bd8e670d5e06870cb952fa88b3990e47b7747e7a.tar.bz2 crosstool-ng-bd8e670d5e06870cb952fa88b3990e47b7747e7a.zip |
libc/glibc: allow more than one line in configparms
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/glibc.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 44633b15..c9a68986 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -141,7 +141,7 @@ do_libc_headers() { extra_config+=("$(do_libc_min_kernel_config)") # Pre-seed the configparms file with values from the config option - echo "${CT_LIBC_GLIBC_CONFIGPARMS}" > configparms + printf "${CT_LIBC_GLIBC_CONFIGPARMS}\n" > configparms cross_cc=$(CT_Which "${CT_TARGET}-gcc") CT_DoLog DEBUG "Using gcc for target: '${cross_cc}'" @@ -309,7 +309,7 @@ do_libc_start_files() { CT_DoLog DEBUG "Extra CC args passed : '${extra_cc_args}'" # Pre-seed the configparms file with values from the config option - echo "${CT_LIBC_GLIBC_CONFIGPARMS}" > configparms + printf "${CT_LIBC_GLIBC_CONFIGPARMS}\n" > configparms echo "libc_cv_forced_unwind=yes" > config.cache echo "libc_cv_c_cleanup=yes" >> config.cache @@ -418,7 +418,7 @@ do_libc() { CT_DoLog DEBUG "Extra CC args passed : '${extra_cc_args}'" # Pre-seed the configparms file with values from the config option - echo "${CT_LIBC_GLIBC_CONFIGPARMS}" > configparms + printf "${CT_LIBC_GLIBC_CONFIGPARMS}\n" > configparms # For glibc 2.3.4 and later we need to set some autoconf cache # variables, because nptl/sysdeps/pthread/configure.in does not |