libc/*glibc: enable selection of the oldest supported ABI

[Yann E. MORIN: split the original patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2010-11-11 01:11:17 +01:00 committed by Bryan Hundven
parent da6b834eef
commit de81a59714
3 changed files with 20 additions and 0 deletions

View File

@ -65,6 +65,18 @@ config LIBC_DISABLE_VERSIONING
help
Do not include versioning information in the library objects.
config LIBC_OLDEST_ABI
string
prompt "Oldest supported ABI"
default ""
help
Set the oldest ABI supported by the C library.
Setting this option, for example, to 2.2 will provide ABI support
back to (e)glibc-2.2.
If this option is not set, (e)glibc will choose for you.
config LIBC_GLIBC_USE_PORTS
bool
prompt "Use the ports addon"

View File

@ -296,6 +296,10 @@ do_libc() {
extra_config+=("--disable-versioning")
fi
if [ "${CT_LIBC_OLDEST_ABI}" != "" ]; then
extra_config+=("--enable-oldest-abi=${CT_LIBC_OLDEST_ABI}")
fi
case "$(do_libc_add_ons_list ,)" in
"") ;;
*) extra_config+=("--enable-add-ons=$(do_libc_add_ons_list ,)");;

View File

@ -373,6 +373,10 @@ do_libc() {
extra_config+=("--disable-versioning")
fi
if [ "${CT_LIBC_OLDEST_ABI}" != "" ]; then
extra_config+=("--enable-oldest-abi=${CT_LIBC_OLDEST_ABI}")
fi
case "$(do_libc_add_ons_list ,)" in
"") ;;
*) extra_config+=("--enable-add-ons=$(do_libc_add_ons_list ,)");;