libc/glibc: both glibc and eglibc have pkgversion and bugurl

Well, all eglibc version we support do, and latest glibc versions
we support do.

Not all glibc versions do, but older versions simply ignore the
unrecognised ./configure flags.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
Yann E. MORIN" 2012-12-26 13:30:51 +01:00
parent 340875e473
commit ea77a251e5
2 changed files with 2 additions and 8 deletions

View File

@ -78,10 +78,6 @@ config LIBC_VERSION
config LIBC_EGLIBC_2_16_or_later
bool
config LIBC_EGLIBC_HAS_PKGVERSION_BUGURL
bool
default y
if CONFIGURE_has_svn
config EGLIBC_REVISION

View File

@ -276,10 +276,8 @@ do_libc_backend_once() {
*) extra_config+=("--enable-add-ons=$(do_libc_add_ons_list ,)");;
esac
if [ "${CT_LIBC_EGLIBC_HAS_PKGVERSION_BUGURL}" = "y" ]; then
extra_config+=("--with-pkgversion=${CT_PKGVERSION}")
[ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}")
fi
extra_config+=("--with-pkgversion=${CT_PKGVERSION}")
[ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}")
# Extract the endianness options if any
# This should cover all possible endianness options