diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-08-15 14:35:11 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-08-15 14:35:11 (GMT) |
commit | 46e19208cd3a3f8634efa497ad49c25db8df9b5a (patch) | |
tree | 9fa644fd678a2ceba3f2fb647adbad26e90a4122 /scripts/build/libc_glibc.sh | |
parent | e58af8f79ed50126d4e148b1ef509ef6068e2b38 (diff) |
Warn when using -pipe with glibc>=2.6.
Diffstat (limited to 'scripts/build/libc_glibc.sh')
-rw-r--r-- | scripts/build/libc_glibc.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/libc_glibc.sh b/scripts/build/libc_glibc.sh index ae8f8b7..37d0861 100644 --- a/scripts/build/libc_glibc.sh +++ b/scripts/build/libc_glibc.sh @@ -225,6 +225,7 @@ do_libc_start_files() { glibc_version_minor=$(echo ${CT_LIBC_VERSION} |sed -r -e 's/^[^\.]+\.([^.]+).*/\1/') if [ ${glibc_version_major} -ge 2 -a ${glibc_version_minor} -ge 6 ]; then # Don't use -pipe: configure chokes on it for glibc >= 2.6. + CT_Test 'Removing "-pipe" for use with glibc>=2.6' "${CT_USE_PIPES}" = "y" extra_cc_args="${CT_CFLAGS_FOR_HOST/-pipe}" else extra_cc_args="${CT_CFLAGS_FOR_HOST}" @@ -334,6 +335,7 @@ do_libc() { glibc_version_minor=$(echo ${CT_LIBC_VERSION} |sed -r -e 's/^[^\.]+\.([^.]+).*/\1/') if [ ${glibc_version_major} -ge 2 -a ${glibc_version_minor} -ge 6 ]; then # Don't use -pipe: configure chokes on it for glibc >= 2.6. + CT_Test 'Removing "-pipe" for use with glibc>=2.6' "${CT_USE_PIPES}" = "y" extra_cc_args="${CT_CFLAGS_FOR_HOST/-pipe}" else extra_cc_args="${CT_CFLAGS_FOR_HOST}" |